math.scale

From Wake
Jump to: navigation, search

Create a scaling matrix.

Function

Synopsis

result = math.scale(v)
result = math.scale(m, v)

Arguments

Vector3 v

The amount to scale each axis.


Matrix4x4 m

The matrix to put the scale into.

Returns

Matrix4x4 result

The scaling matrix.

See Also