diff options
| author | Aaditya Dhruv <[email protected]> | 2026-01-30 17:16:40 -0600 |
|---|---|---|
| committer | Aaditya Dhruv <[email protected]> | 2026-01-30 17:16:40 -0600 |
| commit | 4992ce0098cac8caef6c9315816b688d96259bce (patch) | |
| tree | 862c389ec104838cbd11fc623747287b298558d0 /src/engine.h | |
| parent | 0889db09c33aa96a31cc821effbf6dd42aa14471 (diff) | |
Add freetype for font rendering, display fps in stderr
Diffstat (limited to 'src/engine.h')
| -rw-r--r-- | src/engine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine.h b/src/engine.h index 89ee3cf..92689dd 100644 --- a/src/engine.h +++ b/src/engine.h @@ -1,5 +1,6 @@ #pragma once #include "window.h" +#include <ft2build.h> #include "shader.h" #include "junk/vector.h" // CHUNK_DISTANCE is essentially render distance, it shows you how many chunks @@ -8,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 5 +#define CHUNK_DISTANCE 2 struct engine { struct window* window; |
