summaryrefslogtreecommitdiff
path: root/height-map-display/src/main.c
diff options
context:
space:
mode:
authorSchark <jordan@schark.online>2026-09-24 00:41:13 -0400
committerSchark <jordan@schark.online>2026-09-24 00:41:13 -0400
commit09beb96d7227ff2467b6c0e6fb404f2b99768a54 (patch)
treee3316af44b8e8b0e765e1fcae8b2e520471d5eca /height-map-display/src/main.c
parent651fa5ef62cb9e8e1f47c07cc8d6b3abc4d70cd5 (diff)
parent9963f71b09a919cb37631f6764a7dc1a5fa273f2 (diff)
downloadgamedev-09beb96d7227ff2467b6c0e6fb404f2b99768a54.tar.gz
gamedev-09beb96d7227ff2467b6c0e6fb404f2b99768a54.zip
Merge remote-tracking branch 'origin/master'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to '')
-rw-r--r--height-map-display/src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/height-map-display/src/main.c b/height-map-display/src/main.c
index ad3f093..9860b0a 100644
--- a/height-map-display/src/main.c
+++ b/height-map-display/src/main.c
@@ -8,13 +8,15 @@
#include "map/node.h"
#include "map/square.h"
+#include "sprites/loader.h"
+
#define MAP_HEIGHT 10
#define MAP_WIDTH 10
float camera_pos_x = 0.0f;
float camera_pos_y = 0.0f;
float camera_pos_z = 0.0f;
-float camera_yaw = 33.4f; // rotation around y-axis
+float camera_yaw = 45.0f; // rotation around y-axis
float camera_pitch = -66.7f; // rotation aroudn x-axis
float camera_speed = 0.1f;