Camera

Camera manages a view and projection matrix.

Members

Functions

inverseOrthogonalMatrix
mat4f inverseOrthogonalMatrix()

TODO

inversePerspectiveMatrix
mat4f inversePerspectiveMatrix()

TODO

orthogonalMatrix
mat4f orthogonalMatrix()

TODO

perspectiveMatrix
mat4f perspectiveMatrix()

TODO

projectionConstants
vec2f projectionConstants()

TODO

updateViewMatrix
void updateViewMatrix()

TODO

Properties

isDirty
bool isDirty [@property getter]

TODO

Static functions

lookAt
mat4f lookAt(vec3f targetPos, vec3f cameraPos, vec3f worldUp = vec3f(0, 1, 0))

Creates a view matrix looking at a position.

Variables

fov
float fov;

TODO

Meta