RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwCreateStereoCamera(RwInt32 maxwidth, RwInt32 maxheight,
void *param);

Description

Creates a new stereo camera.

Arguments

maxwidth Maximum width of the camera viewport (in device space units).

maxheight Maximum height of the camera viewport (in device space units).

param Device dependent parameter.

Return Value

A pointer to the new camera if successful, and NULL otherwise.

Comments

For a description of the device dependent parameter, param, see Appendix B.

See RwCreateCamera() for details on the default camera creation parameters.

The camera created by this function can be operated on using all of the standard camera functions except where this a stereo camera replacement defined.

See Also

RwDestroyStereoCamera()

RwDuplicateCamera()

RwResetCamera()