math.translate

From Wake
Jump to: navigation, search

Create a 4x4 translation matrix.

Function

Synopsis

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

Arguments

Vector3 v

The amount to translate.


Matrix4x4 m

A matrix to put the translation into.

Returns

Matrix4x4 result

The translation matrix.

See Also