setTranslation method

void setTranslation (Vector3 t)

Sets the translation vector in this homogeneous transformation matrix.

Implementation

void setTranslation(Vector3 t) {
  final Float32List tStorage = t._v3storage;
  final double z = tStorage[2];
  final double y = tStorage[1];
  final double x = tStorage[0];
  _m4storage[14] = z;
  _m4storage[13] = y;
  _m4storage[12] = x;
}