G2_GetOBJPosition


C Specification

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

Description

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

Arguments

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

Return Values

None

See Also

G2_SetOBJPosition

Revision History

06/09/2004 Initial version