Contents

GLKMatrix4MultiplyVector3ArrayWithTranslation(_:_:_:)

Multiplies a 4x4 matrix by an array of 3-component vectors, applying translation.

Declaration

func GLKMatrix4MultiplyVector3ArrayWithTranslation(_ matrix: GLKMatrix4, _ vectors: UnsafeMutablePointer<GLKVector3>, _ vectorCount: Int)

Parameters

  • matrix:

    The matrix multiplicand.

  • vectors:

    On entry, an array of input vectors. On return, an array of output vectors.

  • vectorCount:

    The number of vectors in the array.

Discussion

The input vectors are treated as they were 4-component vectors with a w-component of 1.0.

See Also

Performing Mathematical Operations on Vectors