scaleVector method
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
@override
Vector2 scaleVector(Vector2 viewportCoordinates) {
return viewportCoordinates * scale;
}