GLKMatrix4MultiplyAndProjectVector3(_:_:)
Multiplies a 4x4 matrix by a position vector to create a vector in homogenous coordinates, then projects the result to a 3-component vector.
Declaration
func GLKMatrix4MultiplyAndProjectVector3(_ matrixLeft: GLKMatrix4, _ vectorRight: GLKVector3) -> GLKVector3Parameters
- matrixLeft:
The matrix multiplicand.
- vectorRight:
The vector multiplier.
Return Value
A new vector created by first multiplying the matrix by the vector and then performing perspective division on the result vector.