Skip to content

Commit

Permalink
Mark code using Cell in ways incompatible with Node
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Aug 4, 2020
1 parent 3d42b8b commit e7611c6
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -1055,6 +1055,8 @@ class Efficient_RANSAC {
normal_threshold,
indices);
} else {

// TODO: Incompatible with Node children paradigm
for (std::size_t i = 0; i < 8; i++)
if (cell->child[i])
stack.push(cell->child[i]);
Expand Down Expand Up @@ -1083,6 +1085,7 @@ class Efficient_RANSAC {
upperY = cur->barycenter().y() <= p.y();
upperZ = cur->barycenter().z() <= p.z();

// TODO: Incompatible with Node children paradigm
if (upperZ) {
if (upperY)
cur = (upperX) ? cur->child[0] : cur->child[1];
Expand Down

0 comments on commit e7611c6

Please sign in to comment.