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>2006-03-27 12:25:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-03-27 12:25:06 +0400
commit0e8e848588ec8b766e655463ace853db89d87032 (patch)
treef94ff6c827f875913f2d9d0891d0f716d12d1a59 /source/blender/include/BIF_editmesh.h
parentaf9573e9eaf9314e9d07575802d34c17bb1091b3 (diff)
Seperated out some functionality into 3 new functions.
EM_editselection_center EM_editselection_normal EM_editselection_plane These functions are used by the manipulator to get data from an editselection. regardless of weather its a face/edge/vert.
Diffstat (limited to 'source/blender/include/BIF_editmesh.h')
-rw-r--r--source/blender/include/BIF_editmesh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h
index d4741aeb135..f4e45b3d54e 100644
--- a/source/blender/include/BIF_editmesh.h
+++ b/source/blender/include/BIF_editmesh.h
@@ -78,6 +78,9 @@ extern void EM_select_face(struct EditFace *efa, int sel);
extern void EM_select_edge(struct EditEdge *eed, int sel);
extern float EM_face_area(struct EditFace *efa);
extern float EM_face_perimeter(struct EditFace *efa);
+extern void EM_editselection_center(float *center, struct EditSelection *ese);
+extern void EM_editselection_normal(float *normal, struct EditSelection *ese);
+extern void EM_editselection_plane(float *plane, struct EditSelection *ese);
extern void EM_deselect_flush(void); // vertices to edges/faces (exception!)
extern void EM_select_flush(void); // vertices to edges/faces (exception!)