Matrix.T

static Matrix T(Vec3 translation)

Translate. Creates a translation Matrix!

   
Vec3 translation Move an object by this amount.
RETURNS: Matrix A Matrix containing a simple translation!
static Matrix T(float x, float y, float z)

Translate. Creates a translation Matrix!

   
float x Move an object on the x axis by this amount.
float y Move an object on the y axis by this amount.
float z Move an object on the z axis by this amount.
RETURNS: Matrix A Matrix containing a simple translation!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!