CalculateDistance method

This commit is contained in:
Malcolm Tyrrell
2021-10-21 08:39:44 +01:00
parent 4ba99c1bb0
commit db0127859a
3 changed files with 21 additions and 9 deletions

View File

@@ -103,7 +103,7 @@ TEST_F(utSpatialSort, highlyDisplacedPositionsTest) {
SpatialSort sSort;
sSort.Fill(positions, totalNumPositions, sizeof(aiVector3D));
// Enough to pick up a point and its 6 immediate neighbors, but not any other point.
// Enough to find a point and its 6 immediate neighbors, but not any other point.
const ai_real epsilon = 1.1f * step;
std::vector<unsigned int> indices;
// Iterate through the _interior_ points of the cube.