MB Dev Notes added to critical classes.

This commit is contained in:
2024-04-26 08:09:07 -04:00
parent 7d6407fbf5
commit 67bc13dcde
6 changed files with 91 additions and 67 deletions
@@ -18,6 +18,14 @@ import java.util.HashMap;
import static java.lang.Math.PI;
// MB Dev Notes:
// The Terrain class handles lookups into the Heightmap data.
// It supports all current maps along with the differences in
// their parenting configuration.
//
// Heightmap images are stored on disk in /mb.data/heightmaps/
public class Terrain {
public static final HashMap<Integer, short[][]> _heightmap_pixel_cache = new HashMap<>();
public short[][] terrain_pixel_data;