EgtGeomKernel :
- migliorata GetDepth di VolZmap, con flag per scelta algoritmo.
This commit is contained in:
+2
-2
@@ -45,7 +45,7 @@ class HashGrid3d
|
||||
: m_Objs( nullptr), m_neighborOffset( nullptr), m_occupiedCellsId( 0) {}
|
||||
} ;
|
||||
|
||||
typedef std::vector<Cell*> CellVector ;
|
||||
typedef vector<Cell*> CellVector ;
|
||||
|
||||
public :
|
||||
explicit HashGrid3d( double dCellSpan) ;
|
||||
@@ -738,7 +738,7 @@ HashGrids3d::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 HashGrid3d( size * std::sqrt( hierarchyFactor)) ;
|
||||
pGrid = new HashGrid3d( 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