diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-12 05:22:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-12 08:12:34 +0300 |
commit | 65df2fd9976178c98db5401ff4e965047e35afdb (patch) | |
tree | db27849954fa8c6766467b19d979f801db254fa3 /extern/curve_fit_nd | |
parent | 421ec972768b46ba453bb3760b451f05e72a1da6 (diff) |
bmesh py api: expose BM_face_calc_tangent_*
D1988 by @wisaac, with own edits and improvements.
This improves on existing tangent calculation functions too.
- BM_face_calc_tangent_auto: Chooses method based on number of sides, used by manipulator (not exposed to Python).
- BM_face_calc_tangent_edge: from longest edge.
- BM_face_calc_tangent_edge_pair: from longest edge-pair (most useful with quads).
- BM_face_calc_tangent_edge_diagonal: edge farthest from any vertex.
- BM_face_calc_tangent_vert_diagonal: vert farthest from any vertex.
Also optimize BM_vert_tri_calc_tangent_edge* functions to avoid sqrt.
Diffstat (limited to 'extern/curve_fit_nd')
0 files changed, 0 insertions, 0 deletions