ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/3ds2mgf.c
(Generate patch)

Comparing ray/src/cv/mgflib/3ds2mgf.c (file contents):
Revision 1.4 by greg, Thu May 30 11:56:43 1996 UTC vs.
Revision 1.5 by gregl, Fri Jan 16 10:47:27 1998 UTC

# Line 47 | Line 47 | extern unsigned _stklen = 16384;
47   #define MGF      4
48   #define RAW      99
49  
50 < #define DEG(x) ((180.0/M_PI)*(x))
51 < #define RAD(x) ((M_PI/180.0)*(x))
50 > #define DEG(x) ((double)(180.0/M_PI)*(x))
51 > #define RAD(x) ((double)(M_PI/180.0)*(x))
52  
53   #ifndef M_PI
54   #define M_PI (3.14159265358979323846)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines