#include "BVHNode.hxx"
#include <algorithm>
+#include <simgear/structure/SGAtomic.hxx>
#include <simgear/math/SGGeometry.hxx>
namespace simgear {
{
}
+BVHNode::Id
+BVHNode::getNewId()
+{
+ static SGAtomic id(0);
+ return ++id;
+}
+
void
BVHNode::addParent(BVHNode* parent)
{