Moved the LineSegment destructor from the header to the source to avoid

compilation problems under MingW.
This commit is contained in:
Robert Osfield 2004-03-19 09:18:21 +00:00
parent fa86c5845d
commit 28214337a3
2 changed files with 5 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class SG_EXPORT LineSegment : public Referenced
protected:
virtual ~LineSegment() {}
virtual ~LineSegment();
static bool intersectAndClip(Vec3& s,Vec3& e,const BoundingBox& bb);

View File

@ -14,6 +14,10 @@
using namespace osg;
LineSegment::~LineSegment()
{
}
bool LineSegment::intersectAndClip(Vec3& s,Vec3& e,const BoundingBox& bb)
{
// compate s and e against the xMin to xMax range of bb.