#include <revolution/include/G2D.h>
void G2DSetCamera( G2DPosOri* po );
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.
|
Pointer to the G2DPosOri structure that the camera position and orientation are passed to. |
03/01/2006 Initial version.