diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-17 08:13:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-17 08:13:03 +0400 |
commit | 536d9fec80dad342ef28f2fc8a0c5b4e5de98d31 (patch) | |
tree | bdb8fa7abc2bb0f3e5fb3a5ab19bd1f1d9b735a2 /source/blender/editors/include/ED_object.h | |
parent | fa06aab433d61949506b2291f69d05caf7cf5d6a (diff) |
code cleanup:
- move object_iterators.c --> view3d_iterators. (ED_object.h had to include ED_view3d.h which isn't so nice)
- move projection functions from view3d_view.c --> view3d_project.c (view3d_view was becoming a mishmash of utility functions and operators).
- some some cmake includes as system-includes.
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index f792d8b1a87..3f66333f0d5 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -197,50 +197,6 @@ int ED_object_multires_update_totlevels_cb(struct Object *ob, void *totlevel_v); /* object_select.c */ void ED_object_select_linked_by_id(struct bContext *C, struct ID *id); - -/* object_iterators.c */ - -#include "ED_view3d.h" /* XXX, needed for eV3DProjTest */ - -/* foreach iterators */ -void mesh_foreachScreenVert( - struct ViewContext *vc, - void (*func)(void *userData, struct BMVert *eve, const float screen_co[2], int index), - void *userData, const eV3DProjTest clip_flag); -void mesh_foreachScreenEdge( - struct ViewContext *vc, - void (*func)(void *userData, struct BMEdge *eed, const float screen_co_a[2], const float screen_co_b[2], - int index), - void *userData, const eV3DProjTest clip_flag); -void mesh_foreachScreenFace( - struct ViewContext *vc, - void (*func)(void *userData, struct BMFace *efa, const float screen_co[2], int index), - void *userData, const eV3DProjTest clip_flag); -void nurbs_foreachScreenVert( - struct ViewContext *vc, - void (*func)(void *userData, struct Nurb *nu, struct BPoint *bp, struct BezTriple *bezt, - int beztindex, const float screen_co[2]), - void *userData, const eV3DProjTest clip_flag); -void mball_foreachScreenElem( - struct ViewContext *vc, - void (*func)(void *userData, struct MetaElem *ml, const float screen_co[2]), - void *userData, const eV3DProjTest clip_flag); -void lattice_foreachScreenVert( - struct ViewContext *vc, - void (*func)(void *userData, struct BPoint *bp, - const float screen_co[2]), - void *userData, const eV3DProjTest clip_flag); -void armature_foreachScreenBone( - struct ViewContext *vc, - void (*func)(void *userData, struct EditBone *ebone, - const float screen_co_a[2], const float screen_co_b[2]), - void *userData, const eV3DProjTest clip_flag); -void pose_foreachScreenBone( - struct ViewContext *vc, - void (*func)(void *userData, struct bPoseChannel *pchan, - const float screen_co_a[2], const float screen_co_b[2]), - void *userData, const eV3DProjTest clip_flag); - #ifdef __cplusplus } #endif |