]> git.sur5r.net Git - cc65/blobdiff - libsrc/tgi/tgi_arc.c
Code review adaptations, removed "cc65_" prefix from functions
[cc65] / libsrc / tgi / tgi_arc.c
index e505b7b6921ee6958afa6c92416854c2fc6dfddb..94cc593cebd8f09d78da7afd5a6672c48d83256f 100644 (file)
@@ -70,16 +70,16 @@ void __fastcall__ tgi_arc (int x, int y, unsigned char rx, unsigned char ry,
     }
 
     /* Calculate the start coords */
-    x1 = x + tgi_imulround (rx, cc65_cos (sa));
-    y1 = y - tgi_imulround (ry, cc65_sin (sa));
+    x1 = x + tgi_imulround (rx, cos (sa));
+    y1 = y - tgi_imulround (ry, sin (sa));
     do {
         sa += inc;
         if (sa >= ea) {
             sa = ea;
             done = 1;
         }
-        x2 = x + tgi_imulround (rx, cc65_cos (sa));
-        y2 = y - tgi_imulround (ry, cc65_sin (sa));
+        x2 = x + tgi_imulround (rx, cos (sa));
+        y2 = y - tgi_imulround (ry, sin (sa));
         tgi_line (x1, y1, x2, y2);
         x1 = x2;
         y1 = y2;