Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-06-12 05:22:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-06-12 08:12:34 +0300
commit65df2fd9976178c98db5401ff4e965047e35afdb (patch)
treedb27849954fa8c6766467b19d979f801db254fa3 /source/blender/bmesh/intern/bmesh_construct.h
parent421ec972768b46ba453bb3760b451f05e72a1da6 (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 'source/blender/bmesh/intern/bmesh_construct.h')
0 files changed, 0 insertions, 0 deletions