Camera
class Camera
A view matrix and a projection matrix, used to project world points to the screen.
Set the projection with one of the set functions, place the camera with lookAt, then call updateMatrices. Call it again after any change. project allocates nothing, because it only reads the combined matrix. Results are normalised device coordinates, minus one to one on each axis, with y up. The camera looks down its own negative z, the three.js convention, so a point in front of a camera at z = 10 has a smaller z than 10.