ver 3.01
Compiled with JDK 13.0.1
This release introduces a radical redesign of the quadrant subdividing system.
-
The new method eliminates the need to iterate down every level of the quadtree for every AABB. Instead, sub-quadnodes are only searched when at least 2 AABBs exist within the quadnode of focus eliminating needless pursuits down the quadtree. This was made possible by first having all AABBs added to the quadnodes they intersect and then checking to see which quadnode contains at least 2 AABBs.
-
Minor performance tweaks for this revision include converting regular "for loops" i.e.
for(int i=0; i<aabbs.length; i++)within paint methods into "advanced for loops" i.e.
for(AABB aabb: aabbs)