|
|
|
@ -62,7 +62,10 @@ public class Terrain {
@@ -62,7 +62,10 @@ 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
|
|
|
|
|
// 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!
|
|
|
|
|
|
|
|
|
|
Vector2f major_blend = new Vector2f(this.zone.max_blend / this.zone.major_radius, |
|
|
|
|
this.zone.min_blend / this.zone.major_radius); |
|
|
|
|