updateTransform method

void updateTransform()

Implementation

void updateTransform() {
  Mat2D.fromRotation(_transform, _rotation);
  _transform[4] = _translation[0];
  _transform[5] = _translation[1];
  Mat2D.scale(_transform, _transform, _scale);
}