G2DInitWorld


C Specification

#include <revolution/include/G2D.h>
void G2DInitWorld( u32 nWorldX, u32 nWorldY );

Description

The G2DInitWorld function specifies the size of the 2D world space. nWorldX and nWorldY use pixels as units and must be a power of 2.

Arguments

nWorldX Width of world space in pixels.
nWorldY Height of world space in pixels.

Return Values

None.

See Also

Revision History

03/01/2006 Initial version.