getWorldTranslation method

Vec2D getWorldTranslation (
  1. Vec2D vec
)

Implementation

Vec2D getWorldTranslation(Vec2D vec) {
  vec[0] = _worldTransform[4];
  vec[1] = _worldTransform[5];
  return vec;
}