geometry: verbose--

This commit is contained in:
Torrie Fischer 2022-09-18 15:02:10 +02:00
parent 6d8b291b2f
commit aafeb9fe34

View File

@ -131,7 +131,7 @@ public class BorderMesh {
DelaunayTriangulator mesh = new DelaunayTriangulator(regionPoints); DelaunayTriangulator mesh = new DelaunayTriangulator(regionPoints);
try { try {
mesh.triangulate(); mesh.triangulate();
log.info("Mesh triangulated!"); log.fine("Mesh triangulated!");
} catch (NullPointerException e) { } catch (NullPointerException e) {
log.warning("Got a null pointer when triangulating, skipping world."); log.warning("Got a null pointer when triangulating, skipping world.");
return false; return false;
@ -173,7 +173,7 @@ public class BorderMesh {
for(Region region : m_regions) { for(Region region : m_regions) {
ArrayList<Vector2D> points = new ArrayList<Vector2D>(); ArrayList<Vector2D> points = new ArrayList<Vector2D>();
HashSet<Region> allNeighbors = new HashSet<Region>(); HashSet<Region> allNeighbors = new HashSet<Region>();
log.info("Executing voronoi transform..."); log.fine("Executing voronoi transform...");
for(Triangle tri : triangleSoup) { for(Triangle tri : triangleSoup) {
if (tri.region == region) { if (tri.region == region) {
for (Region neighbor : m_regions) { for (Region neighbor : m_regions) {