Mirror lookup
This commit is contained in:
1 parent
a68496d451
commit
6402d228c0
1 file changed
+2
-2
@@ -56,8 +56,8 @@ public class Terrain {
|
|||||||
this.terrain_size.x = this.zone.major_radius * 2;
|
this.terrain_size.x = this.zone.major_radius * 2;
|
||||||
this.terrain_size.y = this.zone.minor_radius * 2;
|
this.terrain_size.y = this.zone.minor_radius * 2;
|
||||||
|
|
||||||
this.cell_count.x = this.image_size.x - 1;
|
this.cell_count.x = this.image_size.x;
|
||||||
this.cell_count.y = this.image_size.y - 1;
|
this.cell_count.y = this.image_size.y;
|
||||||
|
|
||||||
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;
|
||||||
|
|||||||
Reference in new issue
Block a user