RwResetCamera(RwCamera *camera);
Description
Resets the camera to its initial position and orientation, at the origin, looking down the negative Z axis.
Arguments
camera Pointer to the camera.
Return Value
The argument camera if successful, and NULL otherwise.
Comments
RwResetCamera() performs the following (and only the following) actions:
Moves the cameras position to the origin of world space.
Points the camera down the negative Z axis of world space.
Points the cameras "Look Up" vector up the positive Y axis of world space.
Sets the cameras view window size to CREAL(1.0) by CREAL(1.0).
Sets the cameras view offset to (CREAL(0.0), CREAL(0.0)).
Damages the cameras entire viewport.
See Also