Browse Source

Comment cleanup

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
80799753be
  1. 6
      src/engine/InterestManagement/Terrain.java

6
src/engine/InterestManagement/Terrain.java

@ -58,8 +58,8 @@ public class Terrain { @@ -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 { @@ -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;
}

Loading…
Cancel
Save