Implement ability to move and rotate camera

This commit is contained in:
2024-02-04 19:49:54 +00:00
parent c2560ccbdd
commit a7dda028aa
4 changed files with 65 additions and 3 deletions

View File

@@ -2,6 +2,9 @@
#define MATH_UTILS_H
#include "c_cpp_aliases/aliases.h"
#include <math.h>
#define RADIANS(DEG) (DEG * (f32)M_PI / 180.0f)
f32 clamp(f32 value, f32 min, f32 max);