forked from MagicBane/Server
Comment cleanup
This commit is contained in:
@@ -58,8 +58,8 @@ public class Terrain {
|
|||||||
this.cell_size.x = terrain_size.x / this.cell_count.x;
|
this.cell_size.x = terrain_size.x / this.cell_count.x;
|
||||||
this.cell_size.y = terrain_size.y / this.cell_count.y;
|
this.cell_size.y = terrain_size.y / this.cell_count.y;
|
||||||
|
|
||||||
// Blending and height scaling configuration. These ratios are used to
|
// Blending configuration. These ratios are used to calculate
|
||||||
// determine the blending area between child and parent terrains when
|
// the blending area between child and parent terrains when
|
||||||
// they are stitched together.
|
// they are stitched together.
|
||||||
|
|
||||||
Vector2f major_blend = new Vector2f(this.zone.max_blend / this.zone.major_radius,
|
Vector2f major_blend = new Vector2f(this.zone.max_blend / this.zone.major_radius,
|
||||||
@@ -78,6 +78,8 @@ public class Terrain {
|
|||||||
else
|
else
|
||||||
blend_ratio.y = Math.min(minor_blend.x, 0.4f);
|
blend_ratio.y = Math.min(minor_blend.x, 0.4f);
|
||||||
|
|
||||||
|
// Scale coefficient for this terrain
|
||||||
|
|
||||||
this.terrain_scale = this.zone.terrain_max_y / 255f;
|
this.terrain_scale = this.zone.terrain_max_y / 255f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user