diff options
| author | Aetias <aetias@outlook.com> | 2024-04-13 18:50:33 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-04-13 18:50:33 +0200 |
| commit | 5a40c5a0e43c69bd84de1ef8dcf7c3f88e3ccbfa (patch) | |
| tree | 6de0079ce3c5d95768da3351f03a9f6f33ead4d2 /include/Physics | |
| parent | 298024544f24ce7141cdd958fed78563a84d2c00 (diff) | |
Delink `ActorManager`
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; +}; |
