]> git.sur5r.net Git - cc65/blobdiff - libsrc/tgi/tgi_pieslice.c
Code review adaptations, removed "cc65_" prefix from functions
[cc65] / libsrc / tgi / tgi_pieslice.c
index 60d2f1d13c303f3fddead20ba8b416e072bd3341..b119b9b2de658e23a26d3d2751e30207b9e8f327 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)));
 }