diff options
author | Schark <jordan@schark.online> | 2024-03-21 01:10:37 -0700 |
---|---|---|
committer | Schark <jordan@schark.online> | 2024-03-21 01:10:37 -0700 |
commit | 9963f71b09a919cb37631f6764a7dc1a5fa273f2 (patch) | |
tree | c6a4c645916083ef9ae79167554446a6c5cadfaa /height-map-display/src/main.c | |
parent | af03f388cbcff795158ea8345b5c876470229e8b (diff) | |
download | gamedev-master.tar.gz gamedev-master.zip |
Diffstat (limited to 'height-map-display/src/main.c')
-rw-r--r-- | height-map-display/src/main.c | 4 |
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; |