|
Converts a point in camera space to a point in world space.
Returns OK or VR_ERROR if failed
Here are some examples:
The location of the camera (world space) will always translate to (0,0,0) in camera space
(-1,0,0) in camera space is one unit in front of the camera this is equal to
the camera location plus the camera direction (a unit vector) in camera space.
(1,0,0) in camera space is one unit in the back of the camera
(0,1,0) in camera space is always one unit to the right of the camera.
(0,-1,0) in camera space is always one unit to the left of the camera.
(0,0,1) in camera space is always one unit up above the camera.
See also STATE_camera_convert_point_to_camera_space()
|