ver 3.14
Compiled with JDK 13.0.1
This release introduces a number of improvements:
-
Tester.java should no longer flicker too much during the painting of the Quadtree. This has been achieved by setting the frame's "GraphicsConfiguration" to that of the user's monitor.
-
Painting method now shows the deepest quadnode's that intersect at least 2 AABBs in a darker shade of gray.
-
Quadtree.java now behaves precisely with regard to the given maximum tree depth.
-
The "subdivide" method in Quadtree.java has been renamed to "insert" which more accurately describes its function and purpose and is in line with proper naming conventions for a Quadtree's functionality.
-
An extra constructor has been added to AABB.java for convenience: its declaration is like so:
AABB(int _x1, int _y1, int _x2, int _y2) -
In Tester.java, all buttons have been placed in the side bar on the right and the menu bar at the top has been removed.
-
Tester.java now has the ability to add "100" AABBs at a time with the addition of a new button.
-
AABBs can now test for collisions between each other through a new collision method. The declaration is like so:
boolean collides_With(AABB aabb)