mirror of https://github.com/axmolengine/axmol.git
issue #2771: delete #define RAND_MAX in PhysicsTest.cpp(already defined in stdlib.h)
This commit is contained in:
parent
3dcd1bc8b1
commit
acf1d72213
|
@ -298,7 +298,6 @@ namespace
|
|||
return (logo_image[(x>>3) + y*logo_row_length]>>(~x&0x7)) & 1;
|
||||
}
|
||||
|
||||
#define RAND_MAX 0x7fffffff
|
||||
static inline float frand(void)
|
||||
{
|
||||
return rand()/RAND_MAX;
|
||||
|
|
Loading…
Reference in New Issue