G2_GetOBJPosition

C Specification

#include <nitro/gx/g2_oam.h>
void G2_GetOBJPosition(const GXOamAttr * oam, u32 * x, u32 * y);

Arguments

oam Pointer to the location storing the OAM data
x Pointer for getting the X coordinate.
y Pointer for getting the Y coordinate.

Return Values

None.

Description

*Gets the X,Y coordinates of the OAM data stored in *oam.

See Also

G2_SetOBJPosition

Revision History

06/09/2004 Initial version.