Gets a simple 2D flat projection matrix from the provided dimensions.
Width of view in pixels.
Height of view in pixels.
Gets a translation matrix based upon camera position.
Camera object to translate.
Gets a rotation matrix from the provided angle.
Angle in radians.
Gets a scale matrix based upon provided sizes.
Size to scale to in x dimension.
Size to scale to in y dimension.
Gets a scale matrix based upon entity scale.
Entity with scale property.
Width of the entity in pixels.
Height of the entity in pixels.
Gets a translation matrix from the provided coordinates.
Translation for the x dimension.
Translation for the y dimension.
Multiplies two matrices together.
The first matrix for multiplication.
The second matrix for multiplication.
Provides static methods for working with WebGL.