diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-31 19:47:59 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-01-31 19:48:27 +0100 |
| commit | 26bd1402f233d92551e1b046404dee0bc495b5e9 (patch) | |
| tree | 6e34f2418689921242d3aea652a6ab8c19446644 /src/KingSystem/Physics/RigidBody/Shape/physBoxShape.cpp | |
| parent | e5962967993cb60ca7e758da4e4abcf608468fa5 (diff) | |
ksys/phys: Mark BoxShapeParam::createShape as const
Diffstat (limited to 'src/KingSystem/Physics/RigidBody/Shape/physBoxShape.cpp')
| -rw-r--r-- | src/KingSystem/Physics/RigidBody/Shape/physBoxShape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/RigidBody/Shape/physBoxShape.cpp b/src/KingSystem/Physics/RigidBody/Shape/physBoxShape.cpp index 8c5bb94b..282568fe 100644 --- a/src/KingSystem/Physics/RigidBody/Shape/physBoxShape.cpp +++ b/src/KingSystem/Physics/RigidBody/Shape/physBoxShape.cpp @@ -7,7 +7,7 @@ namespace ksys::phys { -BoxShape* BoxShapeParam::createShape(sead::Heap* heap) { +BoxShape* BoxShapeParam::createShape(sead::Heap* heap) const { hkpBoxShape* box = nullptr; if (auto* storage = util::allocStorage<hkpBoxShape>(heap)) { const auto radius = convex_radius; |
