Conversation
Cpp-Linter Report
|
|
I'm interpeting So you bring up a good point. Which one of these is correct? If the fallback behavior is intended, maybe it's better to separate |
|
GLOBAL_ANGULAR_EPSILON is meant to detect too small/large angle between vectors. Those angles make any geometric computation unreliable. So first, try to compute a pivot, a triangle vertex where its angle is good enough. Then, if no vertex is found but the triangle is not degenerate (meaning all vertices are not aligned on a thick line), the triangle can be split to generate a smaller triangle where the angles are enough to compute a normal. |
fix #1194