G2DSetCamera


C Specification

#include <revolution/include/G2D.h>
void G2DSetCamera( G2DPosOri* po );

Description

The G2DSetCamera function sets the current camera position and direction. The position and direction are passed to the G2DposOri structure. The rOriX and rOriY components of this structure specify the direction as an up vector. This vector represents which world space direction to render facing upwards in the screen space. This vector must be normalized.

Arguments

po Pointer to the G2DPosOri structure that the camera position and orientation are passed to.

Return Values

None.

See Also

Revision History

03/01/2006 Initial version.