getTranslation static method

Vec2D getTranslation(
  1. Mat2D m,
  2. Vec2D t
)

Implementation

static Vec2D getTranslation(Mat2D m, Vec2D t) {
  t.x = m[4];
  t.y = m[5];
  return t;
}