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:
authorCampbell Barton <ideasman42@gmail.com>2014-03-31 07:55:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-31 07:55:12 +0400
commit0055162b759ef6aa52aa1fc2ec14b646b310b78f (patch)
tree7cc398e67ca85102077d396202dfb9c7c22c8556 /source/blender
parent55f83e36cc2aae2f238183fc13123d92f158ba4e (diff)
Tweak slerp assert to be less picky
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/math_rotation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c
index 64016de1718..9fc5909c20d 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -635,7 +635,7 @@ void interp_dot_slerp(const float t, const float cosom, float r_w[2])
{
const float eps = 0.0001f;
- BLI_assert(IN_RANGE_INCL(cosom, -1.0f, 1.0f));
+ BLI_assert(IN_RANGE_INCL(cosom, -1.0001f, 1.0001f));
/* within [-1..1] range, avoid aligned axis */
if (LIKELY(fabsf(cosom) < (1.0f - eps))) {