Blender Git Commit Log

Git Commits -> Revision 4cadcce

Revision 4cadcce by Campbell Barton (master)
August 13, 2021, 09:45 (GMT)
Revert "Mesh: replace saacos with acosf for normal calculation"

This reverts commit 41e650981861c2f18ab0548e18851d1d761066ff.

This broke "CubeMaskFirst" test.

Any value even slightly outside the [-1.0..1.0] range
caused the result to be nan, which can happen when calculating
the dot-product between two unit length vectors.

Commit Details:

Full Hash: 4cadccebfacfa8533ba06403960e8b1218da61f5
Parent Commit: b9486c3
Lines Changed: +16, -28

3 Modified Paths:

/source/blender/blenkernel/intern/mesh_normals.cc (+5, -9) (Diff)
/source/blender/blenlib/intern/math_geom.c (+4, -8) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_normals.c (+7, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021