From 6528310543e347ed0c178872fb89692468a2c9b2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 22 Jun 2018 13:56:14 +0200 Subject: Cleanup: move cursor rotation into own function --- source/blender/editors/include/ED_view3d.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/include/ED_view3d.h') diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index bc131b45d37..30176351b6a 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -102,6 +102,7 @@ struct View3DCursor *ED_view3d_cursor3d_get(struct Scene *scene, struct View3D * void ED_view3d_cursor3d_calc_mat3(const struct Scene *scene, const struct View3D *v3d, float mat[3][3]); void ED_view3d_cursor3d_calc_mat4(const struct Scene *scene, const struct View3D *v3d, float mat[4][4]); void ED_view3d_cursor3d_position(struct bContext *C, const int mval[2], float cursor_co[3]); +void ED_view3d_cursor3d_position_rotation(struct bContext *C, const int mval[2], float cursor_co[3], float cursor_quat[4]); void ED_view3d_cursor3d_update(struct bContext *C, const int mval[2]); struct Camera *ED_view3d_camera_data_get(struct View3D *v3d, struct RegionView3D *rv3d); -- cgit v1.2.3