copyMatrixToVector3 method

Matrix4 copyMatrixToVector3(
  1. Matrix4 m, [
  2. int row = 3
])

Implementation

Matrix4 copyMatrixToVector3(Matrix4 m, [int row = 3]) {
  final te = storage, me = m.storage;

  te[row*4] = me[row*4];
  te[row*4+1] = me[row*4+1];
  te[row*4+2] = me[row*4+2];

  return this;
}