mirror of
https://github.com/lua/lua
synced 2025-02-28 02:53:58 +03:00
detail
This commit is contained in:
parent
653416d5c0
commit
aa5b15f271
@ -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
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -22,9 +22,9 @@
|
||||
|
||||
/*
|
||||
** 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 TORAD(a) ((a)*RADIANS_PER_DEGREE)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user