From 4992ce0098cac8caef6c9315816b688d96259bce Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Fri, 30 Jan 2026 17:16:40 -0600 Subject: Add freetype for font rendering, display fps in stderr --- src/engine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/engine.h') 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 #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; -- cgit