GLKMatrix4MultiplyVector3(_:_:)
Multiplies a 4x4 matrix by a 3-component vector.
Declaration
func GLKMatrix4MultiplyVector3(_ matrixLeft: GLKMatrix4, _ vectorRight: GLKVector3) -> GLKVector3Parameters
- matrixLeft:
The matrix multiplicand.
- vectorRight:
The vector multiplier.
Return Value
A new vector created by multiplying the matrix by the vector.
Discussion
The input vector is treated as it were a 4-component vector with a w-component of 0.0.