The camera class
Private
Returns the camera matrix
The camera matrix
Converts a vector (position) in screen space into world space
The Vector converted to World space
Sets the display size of the camera. Must be called whenever the canvas is resized.
The display size of the camera
Sets the zoom level of the camera
The zoom level of the camera
Translates the camera
The amount to translate the camera by
Converts a vector (position) in world space into screen space
The Vector converted to Screen space
Generated using TypeDoc
The camera class