Introduced typedef vec_type and value_type into LineSemgment class to allow easier
switching between double and float versions.
This commit is contained in:
@@ -55,7 +55,7 @@ TranslateInLineCommand::TranslateInLineCommand()
|
||||
_line = new osg::LineSegment;
|
||||
}
|
||||
|
||||
TranslateInLineCommand::TranslateInLineCommand(const osg::Vec3& s, const osg::Vec3& e)
|
||||
TranslateInLineCommand::TranslateInLineCommand(const osg::LineSegment::vec_type& s, const osg::LineSegment::vec_type& e)
|
||||
{
|
||||
_line = new osg::LineSegment(s,e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user