Contents

GLKMatrix4Scale(_:_:_:_:)

Returns a new 4x4 matrix created by concatenating a matrix with a scaling transform.

Declaration

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

Parameters

  • matrix:

    A 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