Contents

GLKMatrix3MakeScale(_:_:_:)

Returns a 3x3 matrix that performs a scaling transformation.

Declaration

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

Parameters

  • 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 scaling matrix.

See Also

Creating Matrices