diff options
author | sanine <sanine.not@pm.me> | 2022-06-05 20:38:18 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-06-05 20:38:18 -0500 |
commit | b3d9ffe8107bd7e0989c1fed2e5bdf31037134bb (patch) | |
tree | 6baaa464c8dd1e2b0e7cb4c31e897f6745edeb73 /src/Geometry | |
parent | b9d4c658d3561106a452d8014c4d021fe175b759 (diff) |
begin adding logical map shapes
Diffstat (limited to 'src/Geometry')
-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; } } |