computeWorldPosition method

Vector2 computeWorldPosition(
  1. Bone bone,
  2. Vector2 point
)

Implementation

Vector2 computeWorldPosition(Bone bone, Vector2 point) {
  point
    ..x = x * bone.a + y * bone.b + bone.worldX
    ..y = x * bone.c + y * bone.d + bone.worldY;
  return point;
}