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>2011-05-13 22:05:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-13 22:05:30 +0400
commit47569160d7487a671e0f7236b1c047496ab90386 (patch)
tree4e36144a51e1212b3d75e3d6391180cb0dd88ff5 /source/blender/editors/include
parent62cd927f57b94292139348b0a803288e8eafe850 (diff)
rename setcameratoview3d to view3d_to_ob & add to ED_view3d.h so others can use.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_view3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index 16570ccd7a1..673a1ab265e 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -188,8 +188,12 @@ unsigned int ED_viewedit_datamask(struct bScreen *screen);
/* assigning view matrix */
void view3d_apply_mat4(float mat[][4], float *ofs, float *quat, float *dist);
+
void view3d_apply_ob(struct Object *ob, float *ofs, float *quat, float *dist, float *lens);
+void view3d_to_ob(struct RegionView3D *rv3d, struct Object *ob);
+
int view3d_is_ortho(struct View3D *v3d, struct RegionView3D *rv3d);
+
#endif /* ED_VIEW3D_H */