This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/editors
Campbell Barton 65df2fd997 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.
2016-06-12 15:12:34 +10:00
..
2016-06-08 22:31:35 +10:00
2016-01-04 14:20:48 +05:00
2016-06-10 05:38:17 +10:00
2016-06-09 05:17:43 +10:00
2016-06-09 05:17:43 +10:00
2016-02-07 22:56:20 +11:00
2016-05-09 01:16:58 +10:00
2016-01-04 14:20:48 +05:00
2016-01-04 14:20:48 +05:00
2016-04-30 04:10:34 +10:00
2016-04-30 04:10:34 +10:00
2016-06-10 05:38:17 +10:00