Return to previous page | Return to menu | Go to next page


void
Sprite function

slPutSprite

Show sprites along with perspective transformation

Format

void slPutSprite(pos , atrb , Zrot)
FIXED *pos ;
ATTR *atrb ;
ANGLE Zrot ;

Parameter

pos [XYZS] Sprite arrangement XYZ coordinate value and scale value
atrb Start address of sprite attribute area
Zrot Z axis rotation angle

Function

Calculates the position using the current matrix and displays the sprite scaled for perspective transformation.
If a negative value is specified, it is used as a positive value with the sign reversed.

Return value

None

Reference: Chapter 9 Controller Input

slPutSprite


Return to previous page | Return to menu | Go to next page