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>2017-06-18 00:43:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-06-18 01:37:50 +0300
commitf860369ebf58f1ce683a587be136e2bf7dd08372 (patch)
tree58869b78f04b04c2ddc4563221afcbdc5b0c5c8c /source/blender/editors/include
parent49be79693c6d2e3be20b2cd0ecf81e76a7121b2f (diff)
Manipulator: use matrix for manipulator direction
Remove type-specific axis functions.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_manipulator_library.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/source/blender/editors/include/ED_manipulator_library.h b/source/blender/editors/include/ED_manipulator_library.h
index 8d74ed941d0..421fdbf1212 100644
--- a/source/blender/editors/include/ED_manipulator_library.h
+++ b/source/blender/editors/include/ED_manipulator_library.h
@@ -77,8 +77,6 @@ enum {
};
void ED_manipulator_arrow3d_set_style(struct wmManipulator *mpr, int style);
-void ED_manipulator_arrow3d_set_direction(struct wmManipulator *mpr, const float direction[3]);
-void ED_manipulator_arrow3d_set_up_vector(struct wmManipulator *mpr, const float direction[3]);
void ED_manipulator_arrow3d_set_line_len(struct wmManipulator *mpr, const float len);
void ED_manipulator_arrow3d_set_ui_range(struct wmManipulator *mpr, const float min, const float max);
void ED_manipulator_arrow3d_set_range_fac(struct wmManipulator *mpr, const float range_fac);
@@ -117,11 +115,9 @@ enum {
};
void ED_manipulator_dial3d_set_style(struct wmManipulator *mpr, int style);
-void ED_manipulator_dial3d_set_up_vector(
- struct wmManipulator *mpr, const float direction[3]);
-void ED_manipulator_dial3d_set_start_vector(
- struct wmManipulator *mpr, const bool enabled, const float direction[3]);
-void ED_manipulator_dial3d_set_double_helper(
+void ED_manipulator_dial3d_set_use_start_y_axis(
+ struct wmManipulator *mpr, const bool enabled);
+void ED_manipulator_dial3d_set_use_double_helper(
struct wmManipulator *mpr, const bool enabled);
/* -------------------------------------------------------------------- */
@@ -132,8 +128,6 @@ enum {
};
void ED_manipulator_grab3d_set_style(struct wmManipulator *mpr, int style);
-void ED_manipulator_grab3d_set_up_vector(
- struct wmManipulator *mpr, const float direction[3]);
/* -------------------------------------------------------------------- */
@@ -144,8 +138,6 @@ enum {
};
void ED_manipulator_primitive3d_set_style(struct wmManipulator *mpr, int style);
-void ED_manipulator_primitive3d_set_direction(struct wmManipulator *mpr, const float direction[3]);
-void ED_manipulator_primitive3d_set_up_vector(struct wmManipulator *mpr, const float direction[3]);
#endif /* __ED_MANIPULATOR_LIBRARY_H__ */