Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Szepe <HG1_public@gmx.net>2015-12-30 14:45:36 +0300
committerThomas Szepe <HG1_public@gmx.net>2015-12-30 14:45:36 +0300
commit2583cc88dea50d143a27aeafaa0870cc668662c4 (patch)
treec51bd5317377f13cc79d1b96d7853392843f106b /intern/moto
parent939dd2e168c2ba9578f3ca69ba677347aa026fd0 (diff)
Fix Moto overflow warnings
This fault (level 2, C4056) was introduced by changing Moto from double to float.
Diffstat (limited to 'intern/moto')
-rw-r--r--intern/moto/include/MT_Scalar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/moto/include/MT_Scalar.h b/intern/moto/include/MT_Scalar.h
index 93bd1a2e3ab..94723f4d7ec 100644
--- a/intern/moto/include/MT_Scalar.h
+++ b/intern/moto/include/MT_Scalar.h
@@ -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;