worldToScreen method

Vector2 worldToScreen(
  1. Vector2 worldCoordinates
)
inherited

Takes coordinates in the world space and returns their counter-part in the screen space.

Implementation

Vector2 worldToScreen(Vector2 worldCoordinates) {
  return projectVector(worldCoordinates);
}