Returns the translation vector from this homogeneous transformation matrix.
Source
Vector3 getTranslation() {
double z = _m4storage[14];
double y = _m4storage[13];
double x = _m4storage[12];
return new Vector3(x, y, z);
}
Returns the translation vector from this homogeneous transformation matrix.
Vector3 getTranslation() {
double z = _m4storage[14];
double y = _m4storage[13];
double x = _m4storage[12];
return new Vector3(x, y, z);
}