setTranslation method
void
setTranslation(
- Vector3 t
Sets the translation vector in this homogeneous transformation matrix.
Implementation
void setTranslation(Vector3 t) {
final tStorage = t._v3storage;
final z = tStorage[2];
final y = tStorage[1];
final x = tStorage[0];
_m4storage[14] = z;
_m4storage[13] = y;
_m4storage[12] = x;
}