Merge pull request #172 from blobfish/manipSlop

osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3
This commit is contained in:
OpenSceneGraph git repository
2016-12-08 17:52:46 +00:00
committed by GitHub

View File

@@ -118,7 +118,7 @@ class OSGMANIPULATOR_EXPORT TranslateInLineCommand : public MotionCommand
inline const osg::LineSegment::vec_type& getLineStart() const { return _line->start(); }
inline const osg::LineSegment::vec_type& getLineEnd() const { return _line->end(); }
inline void setTranslation(const osg::Vec3& t) { _translation = t; }
inline void setTranslation(const osg::Vec3d& t) { _translation = t; }
inline const osg::Vec3d& getTranslation() const { return _translation; }
virtual osg::Matrix getMotionMatrix() const