Completed partial refactor.

This commit is contained in:
2023-10-08 20:26:37 -04:00
parent df54840a88
commit a0d2ccb5ab
2 changed files with 10 additions and 11 deletions
+7 -4
View File
@@ -20,9 +20,7 @@ public class Terrain {
// Class variables
public static final HashMap<Integer, short[][]> _heightmap_pixel_cache = new HashMap<>();
public int template;
Zone zone;
public short[][] terrain_pixel_data;
public Vector2f terrain_size = new Vector2f();
@@ -32,7 +30,12 @@ public class Terrain {
public static int heightMapsCreated;
public Terrain() {
public Terrain(Zone zone) {
this.terrain_size.x = zone.major_radius;
this.terrain_size.y = zone.minor_radius;
this.terrain_pixel_data =
}