From 0e015068fef0f9837c243ed5fcbc63d72f4df677 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Fri, 30 Oct 2009 05:45:02 +0000 Subject: [PATCH] [CHG] Typo in GRRLIB_DrawImg and DrawTile (scaleX should be scaleY) --- GRRLIB/GRRLIB/GRRLIB_render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GRRLIB/GRRLIB/GRRLIB_render.c b/GRRLIB/GRRLIB/GRRLIB_render.c index e8819e8..dfb963a 100644 --- a/GRRLIB/GRRLIB/GRRLIB_render.c +++ b/GRRLIB/GRRLIB/GRRLIB_render.c @@ -72,7 +72,7 @@ void GRRLIB_DrawImg (const f32 xpos, const f32 ypos, const GRRLIB_texImg *tex, -tex->offsetx +( scaleX *(-tex->handley *sin(-DegToRad(degrees)) -tex->handlex *cos(-DegToRad(degrees))) ), ypos +height +tex->handley - -tex->offsety +( scaleX *(-tex->handley *cos(-DegToRad(degrees)) + -tex->offsety +( scaleY *(-tex->handley *cos(-DegToRad(degrees)) +tex->handlex *sin(-DegToRad(degrees))) ), 0); guMtxConcat(GXmodelView2D, m, mv); @@ -207,7 +207,7 @@ void GRRLIB_DrawTile (const f32 xpos, const f32 ypos, const GRRLIB_texImg *tex, -tex->offsetx +( scaleX *(-tex->handley *sin(-DegToRad(degrees)) -tex->handlex *cos(-DegToRad(degrees))) ), ypos +height +tex->handley - -tex->offsety +( scaleX *(-tex->handley *cos(-DegToRad(degrees)) + -tex->offsety +( scaleY *(-tex->handley *cos(-DegToRad(degrees)) +tex->handlex *sin(-DegToRad(degrees))) ), 0);