osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3

This commit is contained in:
blobfish 2016-12-07 17:20:23 -05:00
parent bb36fe7d3c
commit a41f498e1f

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& getLineStart() const { return _line->start(); }
inline const osg::LineSegment::vec_type& getLineEnd() const { return _line->end(); } 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; } inline const osg::Vec3d& getTranslation() const { return _translation; }
virtual osg::Matrix getMotionMatrix() const virtual osg::Matrix getMotionMatrix() const