Comment cleanup

This commit is contained in:
2023-10-15 17:23:16 -04:00
parent f9d2232a9b
commit 80799753be
+4 -2
View File
@@ -58,8 +58,8 @@ 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 ratios are used to
// determine the blending area between child and parent terrains when
// Blending configuration. These ratios are used to calculate
// 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,
@@ -78,6 +78,8 @@ public class Terrain {
else
blend_ratio.y = Math.min(minor_blend.x, 0.4f);
// Scale coefficient for this terrain
this.terrain_scale = this.zone.terrain_max_y / 255f;
}