mat4:scale

Scales the matrix.

m = mat4:scale(scale)

Arguments

NameTypeDescription
scalevec3The 3D scale to apply.

Returns

NameTypeDescription
mmat4The original matrix.

m = mat4:scale(s)

Arguments

NameTypeDescription
snumberA uniform scale to apply.

Returns

NameTypeDescription
mmat4The original matrix.

See also