Contents

GLKMatrix3SetRow(_:_:_:)

Returns a new 3x3 matrix with one row replaced by a new vector.

Declaration

func GLKMatrix3SetRow(_ matrix: GLKMatrix3, _ row: Int32, _ vector: GLKVector3) -> GLKMatrix3

Parameters

  • matrix:

    The source matrix.

  • row:

    The index of the row to replace, which must be a number between 0 and 2, inclusive.

  • vector:

    A vector holding the replacement component values.

Return Value

A new matrix.

See Also

Working With Parts of a Matrix