scale

fun scale(sx: Float, sy: Float, sz: Float): Matrix4

Scales this matrix given various scale values.

Return

This matrix, multiplied by the transformation matrix

Parameters

sx

The scale across the X axis.

sy

The scale across the Y axis.

sz

The scale across the Z axis.


fun scale(scale: Float): Matrix4

Scales this matrix.

Return

This matrix, multiplied by the transformation matrix

Parameters

scale

The scale for X, Y, and Z.