RenderWare V2.1

Previous Page Index Next Page

RwCameraProjection

RwGetCameraProjection(RwCamera *camera);

Description

Retrieves the camera’s projection type.

Arguments

camera Pointer to the camera.

Return Value

The camera’s projection type if successful, and rwNACAMERAPROJECTION otherwise.

Comments

The projection types are:

• rwPARALLEL Parallel projection.

• rwPERSPECTIVE Perspective projection.

See Also

RwCreateCamera()

RwSetCameraProjection()