GLKMatrix4MultiplyVector3WithTranslation(_:_:)
Multiplies a 4x4 matrix by a 3-component vector, applying translation.
Declaration
func GLKMatrix4MultiplyVector3WithTranslation(_ 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 1.0.