diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-10 13:24:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-10 13:24:07 +0300 |
commit | 27da2db0caf77b2f4cae443c3d3146d517a1cc4b (patch) | |
tree | 107eea89148ff7c5b4544cc6463b1236ccd73b16 /source/blender/editors/include/ED_view3d.h | |
parent | e6814acf13d37f002f5fe6a20594970fcd186c2e (diff) |
3D View: utility to get matrix from cursor
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index a34571fef44..bb86c7ba6c5 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -98,6 +98,8 @@ typedef struct ViewDepths { } ViewDepths; struct View3DCursor *ED_view3d_cursor3d_get(struct Scene *scene, struct View3D *v3d); +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, float fp[3], const int mval[2]); void ED_view3d_cursor3d_update(struct bContext *C, const int mval[2]); |