init versie

This commit is contained in:
bart
2026-11-08 11:22:15 +01:00
commit dfd497d728
45 changed files with 3041 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef TERRAIN_H
#define TERRAIN_H
#define MAP_WIDTH 300
#define MAP_HEIGHT 125
#define NUM_TRIANGLES_0 6
#define NUM_TRIANGLES_SUB 4
#define NUM_TRIANGLE_VERTICES 3
#define LOD_0_SIZE 1.0f
#define LOD_0_SIZE_Y 0.4328799197461722f
//#define LOD_0_S 0.75f
//#define NUM_POINTS_05f 10
//#define NUM_POINTS_WIDTH (NUM_POINTS_05f * 3 * MAP_WIDTH*2)
//#define NUM_POINTS_HEIGHT (NUM_POINTS_05f * MAP_HEIGHT)
#define NUM_TRIANGLES NUM_TRIANGLES_0*NUM_TRIANGLES_SUB * NUM_TRIANGLES_SUB
#define PI 3.14159265359f
struct TerrainPoint {
char height;
};
#endif // TERRAIN_H