copyPosition method

Matrix4 copyPosition(
  1. Matrix4 m
)

Implementation

Matrix4 copyPosition(Matrix4 m) {
  var te = elements, me = m.elements;

  te[12] = me[12];
  te[13] = me[13];
  te[14] = me[14];

  return this;
}