Mat4:scale

Edit

Scales the matrix.



Arguments

NameTypeDescription
scaleVec3 The 3D scale to apply.

Returns

NameTypeDescription
selfMat4 The modified matrix.

Arguments

NameTypeDefaultDescription
sxnumber The x component of the scale to apply.
synumbersx The y component of the scale to apply.
sznumbersx The z component of the scale to apply.

Returns

NameTypeDescription
selfMat4 The modified matrix.

See also