Contents

GLKMatrix4MakeScale(_:_:_:)

Returns a 4x4 matrix that performs a scaling transformation.

Declaration

func GLKMatrix4MakeScale(_ sx: Float, _ sy: Float, _ sz: Float) -> GLKMatrix4

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