more stuff

This commit is contained in:
onezplpl 2024-07-13 03:13:32 -04:00
parent 7bf40240fe
commit 48ecd8d9e8
No known key found for this signature in database
GPG key ID: 7EC026A136F9EEC3
5 changed files with 96 additions and 48 deletions

View file

@ -5,15 +5,18 @@ typedef struct Vertex {
float pos[3];
} Vertex;
#define CHUNK_LENGTH 16
#define CHUNK_LENGTH 64 //32
#define CHUNK_RADIUS_H 8
#define CHUNK_RADIUS_V 4
#define CTRI_ALL BLOCK_ALL * 18 * sizeof(Vertex)
#define TEXT_GAP_H 1 / 3.0
#define TEXT_GAP_V 1 / 1.0
#define CHUNK_DIAMETER_H (CHUNK_RADIUS_H * 2 + 1)
#define CHUNK_DIAMETER_V (CHUNK_RADIUS_V * 2 + 1)
#define CHUNK_ALL CHUNK_DIAMETER_H *CHUNK_DIAMETER_H *CHUNK_DIAMETER_V
#define BLOCK_ALL CHUNK_LENGTH *CHUNK_LENGTH *CHUNK_LENGTH
#define CBLOCK_ALL BLOCK_ALL *CHUNK_ALL
#define CTRI_ALL BLOCK_ALL * 18 * sizeof(Vertex)
#endif