Fix Moto overflow warnings

This fault (level 2, C4056) was introduced by changing Moto from double to float.
This commit is contained in:
Thomas Szepe 2015-12-30 12:45:36 +01:00
parent 939dd2e168
commit 2583cc88de

@ -61,7 +61,7 @@ const MT_Scalar MT_PI(3.14159265358979323846);
const MT_Scalar MT_2_PI(6.28318530717958623200);
const MT_Scalar MT_EPSILON(1.0e-10);
const MT_Scalar MT_EPSILON2(1.0e-20);
const MT_Scalar MT_INFINITY(1.0e50);
const MT_Scalar MT_INFINITY(1.0e38);
inline int MT_sign(MT_Scalar x) {
return x < 0.0f ? -1 : x > 0.0f ? 1 : 0;