void setTranslation(Vector3 t)

Sets the translation vector in this homogeneous transformation matrix.

Source

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