G2_GetOBJPosition

Syntax

#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

2004/06/09 Initial version.


CONFIDENTIAL