1
0
Fork 0

SGMiscf isn't known yet: add workaround

This commit is contained in:
mfranz 2006-07-27 17:12:37 +00:00
parent cdb725528d
commit 8a482acf8f

View file

@ -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. :-)