Commit 004dc473 authored by Jan Möbius's avatar Jan Möbius
Browse files

Make vectors const to simplify code

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6b10110b
......@@ -1850,7 +1850,7 @@ pick(GLState& _state, PickTarget _target)
TranslationManipulatorNode::set_direction(Vec3d& _directionX, Vec3d& _directionY)
TranslationManipulatorNode::set_direction(const Vec3d& _directionX, const Vec3d& _directionY)
......@@ -120,7 +120,7 @@ public:
bool draw_manipulator() const { return draw_manipulator_; }
/// Set direction in world coordinates
void set_direction(Vec3d& _directionX, Vec3d& _directionY);
void set_direction(const Vec3d& _directionX, const Vec3d& _directionY);
/// Get current direction of x-Axis in world coordinates
Vec3d directionX() const;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment