Contents

GLKMatrix3Scale(_:_:_:_:)

Returns a new 3x3 matrix created by concatenating a matrix with a scaling transform.

Declaration

func GLKMatrix3Scale(_ matrix: GLKMatrix3, _ sx: Float, _ sy: Float, _ sz: Float) -> GLKMatrix3

Parameters

  • matrix:

    The source matrix.

  • sx:

    The amount to scale the x component.

  • sy:

    The amount to scale the y component.

  • sz:

    The amount to scale the z component.

Return Value

A new matrix.

See Also

Performing Mathematical Operations on Matrices