GLKMatrix4GetRow(_:_:)
Retrieves a row from a 4x4 matrix.
Declaration
func GLKMatrix4GetRow(_ matrix: GLKMatrix4, _ row: Int32) -> GLKVector4Parameters
- matrix:
A
4x4matrix. - row:
The row index, which must be a number between
0and3, inclusive.
Return Value
A vector representing the row retrieved from the matrix.
Discussion
The last component of rows 0 through 2 correspond to the translation values tx, ty, and tz, respectively.