Mat4:translate
EditTranslates the matrix.
Arguments
Name | Type | Description |
v | Vec3 | The translation vector. |
Returns
Name | Type | Description |
self | Mat4 | The translated matrix. |
Arguments
Name | Type | Description |
x | number | The x component of the translation. |
y | number | The y component of the translation. |
z | number | The z component of the translation. |
Returns
Name | Type | Description |
self | Mat4 | The translated matrix. |