Implment getting horizontal/vertical intesections of ray casting.

This commit is contained in:
2023-04-04 20:02:49 +01:00
parent ca50b6f4b7
commit 3402fb50d9
5 changed files with 127 additions and 14 deletions
+11
View File
@@ -0,0 +1,11 @@
#ifndef MATHS_H
#define MATHS_H
#include <cmath>
#define PI 3.14159265
#define DEG_RAD PI/180.f
float maths_modulo(float a, float b);
#endif