Contents

GLKMatrix4MakeWithRows(_:_:_:_:)

Returns a 4x4 matrix created from four row vectors.

Declaration

func GLKMatrix4MakeWithRows(_ row0: GLKVector4, _ row1: GLKVector4, _ row2: GLKVector4, _ row3: GLKVector4) -> GLKMatrix4

Parameters

  • row0:

    The first row. The last component of the vector provides the x coordinate’s translation value.

  • row1:

    The second row. The last component of the vector provides the y coordinate’s translation value.

  • row2:

    The third row. The last component of the vector provides the z coordinate’s translation value.

  • row3:

    The fourth row.

Return Value

A new matrix.

See Also

Creating Matrices