Blender Git Commit Log
Git Commits -> Revision 6202bc8
Revision 6202bc8 by Jacques Lucke (master) February 6, 2019, 10:49 (GMT) |
Fix T60935: More numerically stable distance to ray computation The old function was numerically very unstable for 2 reasons: computing the square and then subtracting the results. In the example in T60935 all precision was lost and it returned the distance 0 for all points. I also removed the `depth` parameter since it wasn't used and computing it would have made the code more complicated. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4308 |
Commit Details:
Full Hash: 6202bc82b858d8f6876c6c20ec62dd0a16209087
Parent Commit: f7613cf
Lines Changed: +28, -29