Contents

GLKMatrixStackTranslate(_:_:_:_:)

Replaces the contents of the top matrix with a matrix calculated by composing the top matrix with a translation operation.

Declaration

func GLKMatrixStackTranslate(_ stack: GLKMatrixStack, _ tx: Float, _ ty: Float, _ tz: Float)

Parameters

  • stack:

    A matrix stack.

  • tx:

    The amount to translate the position along the x-axis.

  • ty:

    The amount to translate the position along the y-axis.

  • tz:

    The amount to translate the position along the z-axis.

See Also

Functions