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>2018-05-06 19:32:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-06 19:32:18 +0300
commit046904e3fc6d5a9b10215d97ffc71f08bce37a41 (patch)
treeedfdc892201573992ae390989dbd86d7535baf74 /source/blender/editors/include/ED_object.h
parent84474b0171eba502cbde345ce44707ba6dde7203 (diff)
Cleanup: split rotation_from_view
Add a function that takes only a quat, instead of the 3D view. Allows for using non-view orientations.
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
-rw-r--r--source/blender/editors/include/ED_object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h
index 11dde2f5913..2087394b6f6 100644
--- a/source/blender/editors/include/ED_object.h
+++ b/source/blender/editors/include/ED_object.h
@@ -149,6 +149,7 @@ void ED_object_sculptmode_exit_ex(
void ED_object_sculptmode_exit(struct bContext *C);
void ED_object_location_from_view(struct bContext *C, float loc[3]);
+void ED_object_rotation_from_quat(float rot[3], const float quat[4], const char align_axis);
void ED_object_rotation_from_view(struct bContext *C, float rot[3], const char align_axis);
void ED_object_base_init_transform(struct bContext *C, struct Base *base, const float loc[3], const float rot[3]);
float ED_object_new_primitive_matrix(