scaleVector abstract method

Vector2 scaleVector(
  1. Vector2 worldCoordinates
)

Converts a vector representing a delta in the world space to the screen space.

This considers only the scaling transformation, as the translations are cancelled in a delta transformation. A delta can be a displacement (difference between two position vectors), a velocity (displacement over time), etc.

Implementation

Vector2 scaleVector(Vector2 worldCoordinates);