G2S_SetBG3Affine


C Specification

#include <nitro/gx/g2.h>

void G2S_SetBG3Affine(
    const MtxFx22 * mtx,
    int centerX,
    int centerY,
    int x1,
    int y1
);

Description

This function sets the sub 2D Engine's BG3 affine transformation. It obtains points after affine transformation (x2, y2) using the following equation.

Arguments

mtx Pointer to the transformation matrix
centerX x-coordinate component of the center of rotation
centerY y-coordinate component of the center of rotation
x1 x-coordinate component prior to rotation
y1 y-coordinate component prior to rotation

Return Values

None

See Also

G2S_SetBG2Affine

Revision History

02/09/2004 Initial Version