Move MAXFLOAT to BLI_math_base.h
This commit is contained in:
parent
3488b5dd6f
commit
380929624c
@ -70,6 +70,11 @@ extern "C" {
|
||||
#define M_LN10 2.30258509299404568402
|
||||
#endif
|
||||
|
||||
/* non-standard defines, used in some places */
|
||||
#ifndef MAXFLOAT
|
||||
#define MAXFLOAT ((float)3.40282347e+38)
|
||||
#endif
|
||||
|
||||
#ifndef sqrtf
|
||||
#define sqrtf(a) ((float)sqrt(a))
|
||||
#endif
|
||||
|
@ -35,11 +35,6 @@
|
||||
#define SELECT 1
|
||||
#define ACTIVE 2
|
||||
|
||||
/* nonstandard define, sometimes in math.h */
|
||||
#ifndef MAXFLOAT
|
||||
#define MAXFLOAT ((float)3.40282347e+38)
|
||||
#endif
|
||||
|
||||
/* buttons */
|
||||
#define XIC 20
|
||||
#define YIC 20
|
||||
|
Loading…
Reference in New Issue
Block a user