diff options
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/geom/geom_triangle_intersect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/geom/geom_triangle_intersect.h b/intern/cycles/kernel/geom/geom_triangle_intersect.h index 65f6c9af441..ba309a1dc53 100644 --- a/intern/cycles/kernel/geom/geom_triangle_intersect.h +++ b/intern/cycles/kernel/geom/geom_triangle_intersect.h @@ -179,7 +179,7 @@ ccl_device_inline bool triangle_intersect(KernelGlobals *kg, float4 a = tri_b - tri_a, b = tri_c - tri_a; if(len_squared(make_float3(a.y*b.z - a.z*b.y, a.z*b.x - a.x*b.z, - a.x*b.y - a.y*b.x)) < 1e-16f) + a.x*b.y - a.y*b.x)) == 0.0f) { return false; } |