diff options
Diffstat (limited to 'source/blender/blenlib/intern/arithb.c')
-rw-r--r-- | source/blender/blenlib/intern/arithb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/arithb.c b/source/blender/blenlib/intern/arithb.c index 6c9ae78bac4..85cd46e6f33 100644 --- a/source/blender/blenlib/intern/arithb.c +++ b/source/blender/blenlib/intern/arithb.c @@ -4324,7 +4324,7 @@ int RayIntersectsTriangle(float p1[3], float d[3], float v0[3], float v1[3], flo Crossf(p, d, e2); a = Inpf(e1, p); - if ((a > -0.000001) && (a < 0.000001)) return 0; + if ((a > -FLT_EPSILON) && (a < FLT_EPSILON)) return 0; f = 1.0f/a; VecSubf(s, p1, v0); |