diff options
| author | Aaditya Dhruv <[email protected]> | 2026-01-30 20:27:21 -0600 |
|---|---|---|
| committer | Aaditya Dhruv <[email protected]> | 2026-01-30 20:27:21 -0600 |
| commit | 0c3e1f450f591d871c2779504b4113daf891fd1b (patch) | |
| tree | d8d3d2698fb182d63032144961f1ebdbe2ca2262 /src/engine.h | |
| parent | 1a721b98caf7559f4a18baa8d3b92269e8f1f6ce (diff) | |
Minor performance boost + better input
Draw triangles in correct counter clock order, back face wasn't correct
Diffstat (limited to 'src/engine.h')
| -rw-r--r-- | src/engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.h b/src/engine.h index 3248d40..e7ffdaa 100644 --- a/src/engine.h +++ b/src/engine.h @@ -9,7 +9,7 @@ // We want a square around curr_chunk, and a side of the square will be 1 // (center chunk) + 2 * CHUNK_DISTANCE (either side of center) // loaded chunks = (1 + CHUNK_DISTANCE * 2)^2 -#define CHUNK_DISTANCE 2 +#define CHUNK_DISTANCE 3 struct engine { struct window* window; |
