diff options
| author | Aetias <aetias@outlook.com> | 2024-05-25 23:15:25 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-05-25 23:15:25 +0200 |
| commit | 2b81d5a3877ea441b3534b5f4376388e64676880 (patch) | |
| tree | 0ee02e6282f02597f643be516304677fb4a43efd /include/Physics | |
| parent | 67aba5b356275585e2b26c80a533ab5dd9bb6c38 (diff) | |
Decomp `Actor`
Diffstat (limited to 'include/Physics')
| -rw-r--r-- | include/Physics/Cylinder.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/Physics/Cylinder.hpp b/include/Physics/Cylinder.hpp index 353469aa..1ba5e7b7 100644 --- a/include/Physics/Cylinder.hpp +++ b/include/Physics/Cylinder.hpp @@ -9,5 +9,13 @@ struct Cylinder { Vec3p pos; q20 size; // height and radius + inline Cylinder() {} + inline Cylinder(q20 size) { + pos.x = 0; + pos.y = size; + pos.z = 0; + this->size = size; + } + bool Overlaps(Cylinder *other); }; |
