Reordered KdLeaf/KdNode so that the first element to be accessed is first in the data structure
This commit is contained in:
@@ -86,10 +86,10 @@ class OSG_EXPORT KdTree : public osg::Shape
|
||||
first(f),
|
||||
second(s) {}
|
||||
|
||||
osg::BoundingBox bb;
|
||||
|
||||
value_type first;
|
||||
value_type second;
|
||||
|
||||
osg::BoundingBox bb;
|
||||
};
|
||||
|
||||
|
||||
@@ -103,10 +103,10 @@ class OSG_EXPORT KdTree : public osg::Shape
|
||||
first(f),
|
||||
second(s) {}
|
||||
|
||||
osg::BoundingBox bb;
|
||||
|
||||
value_type first;
|
||||
value_type second;
|
||||
|
||||
osg::BoundingBox bb;
|
||||
};
|
||||
|
||||
struct Triangle
|
||||
|
||||
Reference in New Issue
Block a user