diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-16 15:04:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-16 15:07:28 +0400 |
commit | b3972aeea05bc6c60d7b7da4e6b59a64b822448a (patch) | |
tree | ee959d88f8be160e01f8633b9c163ba7dc105d0c /source/blender/bmesh/intern/bmesh_private.h | |
parent | 233dac149478624a74831ff24454e5956124622c (diff) |
Math Lib: optimize axis_dominant_v3_to_m3, approx 6x speedup
build the matrix directly rather then calculating with axis/angle
also remove unused function calc_poly_plane
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_private.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_private.h b/source/blender/bmesh/intern/bmesh_private.h index 7ec418b2253..cac4713c8b2 100644 --- a/source/blender/bmesh/intern/bmesh_private.h +++ b/source/blender/bmesh/intern/bmesh_private.h @@ -72,8 +72,7 @@ enum { #define BM_ELEM_API_FLAG_TEST(element, f) ((element)->head.api_flag & (f)) #define BM_ELEM_API_FLAG_CLEAR(element) ((element)->head.api_flag = 0) -void calc_poly_plane(float (*verts)[3], const int nverts); -void poly_rotate_plane(const float normal[3], float (*verts)[3], const int nverts); +void poly_rotate_plane(const float normal[3], float (*verts)[3], unsigned const int nverts); /* include the rest of our private declarations */ #include "bmesh_structure.h" |