This commit is contained in:
Roberto Ierusalimschy 2002-08-14 17:10:33 -03:00
parent 653416d5c0
commit aa5b15f271
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/* /*
** $Id: lmathlib.c,v 1.49 2002/08/07 20:54:38 roberto Exp roberto $ ** $Id: lmathlib.c,v 1.50 2002/08/14 20:07:43 roberto Exp roberto $
** Standard mathematical library ** Standard mathematical library
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@ -22,9 +22,9 @@
/* /*
** If you want Lua to operate in degrees (instead of radians), ** If you want Lua to operate in degrees (instead of radians),
** define DEGREES ** define USE_DEGREES
*/ */
#ifdef DEGREES #ifdef USE_DEGREES
#define FROMRAD(a) ((a)/RADIANS_PER_DEGREE) #define FROMRAD(a) ((a)/RADIANS_PER_DEGREE)
#define TORAD(a) ((a)*RADIANS_PER_DEGREE) #define TORAD(a) ((a)*RADIANS_PER_DEGREE)
#else #else