diff options
-rw-r--r-- | lmathlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmathlib.c,v 1.49 2002/08/07 20:54:38 roberto Exp roberto $ | 2 | ** $Id: lmathlib.c,v 1.50 2002/08/14 20:07:43 roberto Exp roberto $ |
3 | ** Standard mathematical library | 3 | ** Standard mathematical library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -22,9 +22,9 @@ | |||
22 | 22 | ||
23 | /* | 23 | /* |
24 | ** If you want Lua to operate in degrees (instead of radians), | 24 | ** If you want Lua to operate in degrees (instead of radians), |
25 | ** define DEGREES | 25 | ** define USE_DEGREES |
26 | */ | 26 | */ |
27 | #ifdef DEGREES | 27 | #ifdef USE_DEGREES |
28 | #define FROMRAD(a) ((a)/RADIANS_PER_DEGREE) | 28 | #define FROMRAD(a) ((a)/RADIANS_PER_DEGREE) |
29 | #define TORAD(a) ((a)*RADIANS_PER_DEGREE) | 29 | #define TORAD(a) ((a)*RADIANS_PER_DEGREE) |
30 | #else | 30 | #else |