Contents

GLKMatrix4TranslateWithVector3(_:_:)

Returns a new 4x4 matrix created by concatenating a matrix with a translation transform defined by a vector.

Declaration

func GLKMatrix4TranslateWithVector3(_ matrix: GLKMatrix4, _ translationVector: GLKVector3) -> GLKMatrix4

Parameters

  • matrix:

    A matrix.

  • translationVector:

    A vector whose x, y and z components are used to translate the matrix.

Return Value

A new matrix.

See Also

Performing Mathematical Operations on Matrices