From f9d2232a9b8a063964d1a8de2a6628c846760aec Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 15 Oct 2023 17:22:05 -0400 Subject: [PATCH] Comment cleanup --- src/engine/InterestManagement/Terrain.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 664001dd..4b9f7cac 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -38,7 +38,7 @@ public class Terrain { // that all similar terrains share. (See JSON) if (this.zone.terrain_type.equals("PLANAR")) - this.heightmap = 1006301; // all 255 + this.heightmap = 1006301; // all 0 // Load pixel data for this terrain from cache @@ -58,10 +58,9 @@ public class Terrain { this.cell_size.x = terrain_size.x / this.cell_count.x; this.cell_size.y = terrain_size.y / this.cell_count.y; - // Blending and height scaling configuration. These rations are used to - // determine whether a location is within the blending area. Can also be - // done with bounding boxes and subtracting two areas but this is the way - // SB modeled things, and we are an SB emulator! + // Blending and height scaling configuration. These ratios are used to + // determine the blending area between child and parent terrains when + // they are stitched together. Vector2f major_blend = new Vector2f(this.zone.max_blend / this.zone.major_radius, this.zone.min_blend / this.zone.major_radius);