translate( x, y, z )

static function

Create a translation Matrix.

Arguments

Name Type Description
x Number Amount to translate in X
y Number Amount to translate in Y
z Number Amount to translate in Z

Returns

Type Description
Matrix Newly created Matrix.