getTranslation method

Vector3 getTranslation()

Returns the translation vector from this homogeneous transformation matrix.

Implementation

Vector3 getTranslation() {
  final z = _m4storage[14];
  final y = _m4storage[13];
  final x = _m4storage[12];
  return Vector3(x, y, z);
}