ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/lib4014/arc.c
(Generate patch)

Comparing ray/src/meta/lib4014/arc.c (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 1.2 by schorsch, Mon Oct 27 10:28:59 2003 UTC

# Line 30 | Line 30 | arc(x,y,x0,y0,x1,y1){
30          else flg=1;
31          qs = quad(x,y,x0,y0);
32          qf = quad(x,y,x1,y1);
33 <        if(abs(x-x1) < abs(y-y1)){
33 >        if(abs_(x-x1) < abs_(y-y1)){
34                  use = 'x';
35                  if(qs == 2 || qs ==3)m = -1;
36                  else m=1;
# Line 110 | Line 110 | quad(x,y,xp,yp){
110          else if(y < yp)return(2);
111          else return(4);
112   }
113 < abs(a){
113 > abs_(a){ /* Windows complains that abs() is an "internal function" */
114          if(a < 0)return(-a);
115          return(a);
116   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines