A very basic camera for use in WebGL projects
Creates a new camera: optionally, you can pass in
pos to set the initial
vec3 representing the
position of the camera. It's array-like, so you can just set the
 indices to change the position.
Rotates the camera along the x-axis by
Rotates the camera along the y-axis by
Rotates the camera along the z-axis by
vec3 to a vector corresponding to the camera's direction.