Blender Git Loki

Git Commits -> Revision 4f5086b

Revision 4f5086b by Alexander Gavrilov (master)
November 6, 2019, 08:15 (GMT)
Mathutils: expose the utility to find the closest point of a triangle.

This computation is complex and useful enough to expose the existing
C math utility used by BVH nearest to Python. Otherwise this requires
the use of intersect_point_tri and multiple intersect_point_line calls
with some added vector math.

Differential Revision: https://developer.blender.org/D6200

Commit Details:

Full Hash: 4f5086b6dc4b719dd9087ce336fb73545a05bdf6
Parent Commit: b617cf6
Lines Changed: +49, -1

1 Modified Path:

/source/blender/python/mathutils/mathutils_geometry.c (+49, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021