diff options
Diffstat (limited to 'include/Physics')
| -rw-r--r-- | include/Physics/AABB.hpp | 11 | ||||
| -rw-r--r-- | include/Physics/Sphere.hpp | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/include/Physics/AABB.hpp b/include/Physics/AABB.hpp new file mode 100644 index 00000000..358aed1c --- /dev/null +++ b/include/Physics/AABB.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include "global.h" +#include "types.h" + +#include "lib/math.h" + +struct AABB { + Vec3p min; + Vec3p max; +}; diff --git a/include/Physics/Sphere.hpp b/include/Physics/Sphere.hpp new file mode 100644 index 00000000..eaed104d --- /dev/null +++ b/include/Physics/Sphere.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include "global.h" +#include "types.h" + +#include "lib/math.h" + +struct Sphere { + Vec3p pos; + int radius; +}; |
