EgtGeomKernel :
- migliorata GetDepth di VolZmap, con flag per scelta algoritmo.
This commit is contained in:
+2
-2
@@ -44,7 +44,7 @@ class HashGrid2d
|
||||
: m_Objs( nullptr), m_neighborOffset( nullptr), m_occupiedCellsId( 0) {}
|
||||
} ;
|
||||
|
||||
typedef std::vector<Cell*> CellVector ;
|
||||
typedef vector<Cell*> CellVector ;
|
||||
|
||||
public :
|
||||
explicit HashGrid2d( double dCellSpan) ;
|
||||
@@ -695,7 +695,7 @@ HashGrids2d::addGrid( ObjData& obj)
|
||||
// If no hash grid yet exists in the hierarchy, an initial hash grid is created
|
||||
// based on the body's size.
|
||||
|
||||
pGrid = new HashGrid2d( size * std::sqrt( hierarchyFactor)) ;
|
||||
pGrid = new HashGrid2d( size * sqrt( hierarchyFactor)) ;
|
||||
}
|
||||
else {
|
||||
// Check the hierarchy for a hash grid with suitably sized cells - if such a grid does not
|
||||
|
||||
Reference in New Issue
Block a user