diff options
Diffstat (limited to 'src/Geometry/Geometry.js')
-rw-r--r-- | src/Geometry/Geometry.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Geometry/Geometry.js b/src/Geometry/Geometry.js index 6c296ad..110d764 100644 --- a/src/Geometry/Geometry.js +++ b/src/Geometry/Geometry.js @@ -152,6 +152,11 @@ class QTNode { } this.subnode = undefined; } + /* no need to check if we have more than 1 leaf or 0 leaves -- + * for more than 1 leaf we stay as a branch (so no need to do anything) + * and 0 leaves cannot happen, because this started as a branch (meaning 2+ leaves + * or at least one child branch) and we only removed 1 point from the tree. + */ break; } } |