Camera

An orthographic camera

Members

Functions

getCenterOffset
vec2 getCenterOffset()
Undocumented in source. Be warned that the author may not have intended to support it.
getRealSize
vec2 getRealSize()
Undocumented in source. Be warned that the author may not have intended to support it.
matrix
mat4 matrix()

Matrix for this camera

Variables

position
vec2 position;

Position of camera

scale
vec2 scale;

Size of the camera

Meta