commit x64 compilation from lulu cause the other branch dont seems to compile properly at home
This commit is contained in:
34
include/framework/bih/bih.cpp
Normal file
34
include/framework/bih/bih.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#include "bih/bih.h"
|
||||
|
||||
using namespace GS::BIH;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
Node::~Node()
|
||||
{
|
||||
if (p)
|
||||
if (axis != Math::AxisNone)
|
||||
delete [] ((Node *)p);
|
||||
|
||||
p = 0;
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void Tree::Free()
|
||||
{
|
||||
root = NULL;
|
||||
sarray.Free();
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
Tree::Tree() : min_leaf_vcount(8) {}
|
||||
Tree::~Tree() { Free(); }
|
||||
//------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user