Mat4:scale

Edit

Scales the matrix.



Arguments

NameTypeDescription
scaleVec3 The 3D scale to apply.

Returns

NameTypeDescription
mMat4 The original 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
mMat4 The original matrix.

See also