mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
[CHG] Typo in GRRLIB_DrawImg and DrawTile (scaleX should be scaleY)
This commit is contained in:
parent
0c784c800d
commit
0e015068fe
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue