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>2014-04-16 15:04:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-16 15:07:28 +0400
commitb3972aeea05bc6c60d7b7da4e6b59a64b822448a (patch)
treeee959d88f8be160e01f8633b9c163ba7dc105d0c /source/blender/bmesh/intern/bmesh_private.h
parent233dac149478624a74831ff24454e5956124622c (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.h3
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"