camera root

 Function Name  Parameter  Return  Explain
getRotation None vec rot Retrieves the orientation of the camera.

Return Values

rot.x : pitch -- around the x-axis
rot.y
: yaw -- around the y-axis
rot.z
: roll -- around the z-axis

setRotation vec None Sets  the orientation of the camera.
getRight None vec Retrieves the right vector of the camera, it's a unit vector.
getUp None vec Retrieves the up vector of the camera, it's a unit vector.
getFront None vec Retrieves the front vector of the camera, it's a unit vector.
getViewMatrix None matrix Retrieves the view matrix of the camera.
getInvViewMatrix None matrix Retrieves the inverse view matrix of the camera.
getProjMatrix None matrix Retrieves the projection matrix of the camera.
circlePoint number yaw, pitch   vec pos None Moves around the specified position (pos).