makeTranslation method

Matrix4 makeTranslation(
  1. num x,
  2. num y,
  3. num z
)

Implementation

Matrix4 makeTranslation(num x, num y, num z) {
  set(1, 0, 0, x, 0, 1, 0, y, 0, 0, 1, z, 0, 0, 0, 1);

  return this;
}