From b3d9ffe8107bd7e0989c1fed2e5bdf31037134bb Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 5 Jun 2022 20:38:18 -0500 Subject: begin adding logical map shapes --- src/Geometry/Geometry.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Geometry/Geometry.js') 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; } } -- cgit v1.2.1