]> git.sur5r.net Git - cc65/blobdiff - libsrc/tgi/tgi_pieslice.c
Added '_' prefix to sin and cos.
[cc65] / libsrc / tgi / tgi_pieslice.c
index 60d2f1d13c303f3fddead20ba8b416e072bd3341..748d1819ad8153c6afad6b7f45042cf74a1168b4 100644 (file)
@@ -57,8 +57,8 @@ void __fastcall__ tgi_pieslice (int x, int y, unsigned char rx, unsigned char ry
     tgi_arc (x, y, rx, ry, sa, ea);
 
     /* ... and close it */
-    tgi_line (x, y, x + tgi_imulround (rx, cc65_cos (sa)), y - tgi_imulround (ry, cc65_sin (sa)));
-    tgi_line (x, y, x + tgi_imulround (rx, cc65_cos (ea)), y - tgi_imulround (ry, cc65_sin (ea)));
+    tgi_line (x, y, x + tgi_imulround (rx, _cos (sa)), y - tgi_imulround (ry, _sin (sa)));
+    tgi_line (x, y, x + tgi_imulround (rx, _cos (ea)), y - tgi_imulround (ry, _sin (ea)));
 }