SGMiscf isn't known yet: add workaround
This commit is contained in:
parent
cdb725528d
commit
8a482acf8f
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ SG_USING_STD(deque);
|
|||
SG_USING_STD(vector);
|
||||
SG_USING_NAMESPACE(std);
|
||||
|
||||
#define float_to_int(v) SGMiscf::roundToInt(v)
|
||||
//#define float_to_int(v) SGMiscf::roundToInt(v)
|
||||
#define float_to_int(v) int(floorf(v + 0.5f))
|
||||
|
||||
// some of Norman's crazy optimizations. :-)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue