diff options
| author | Léo Lam <leo@leolam.fr> | 2021-12-29 17:58:17 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-12-29 18:15:50 +0100 |
| commit | 32531ba067bf90753a7d1218183fbec001ce4865 (patch) | |
| tree | 02b5cfad438322c676007e08a01c67cdccd9db75 /src/KingSystem/Physics/System/physMemSystem.cpp | |
| parent | 8ba8563775123df0ca253705eeebc70395c616f9 (diff) | |
ksys/phys: Add RigidContactPoints allocation functions
Diffstat (limited to 'src/KingSystem/Physics/System/physMemSystem.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physMemSystem.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physMemSystem.cpp b/src/KingSystem/Physics/System/physMemSystem.cpp index a8193a33..834d6e2e 100644 --- a/src/KingSystem/Physics/System/physMemSystem.cpp +++ b/src/KingSystem/Physics/System/physMemSystem.cpp @@ -1,5 +1,6 @@ #include "KingSystem/Physics/System/physMemSystem.h" #include "KingSystem/Physics/System/physContactMgr.h" +#include "KingSystem/Physics/System/physRigidContactPoints.h" namespace ksys::phys { @@ -15,6 +16,12 @@ void MemSystem::freeContactPoints(RigidContactPoints* points) const { mContactMgr->freeContactPoints(points); } +RigidContactPointsEx* MemSystem::allocContactPointsEx(sead::Heap* heap, int num, int num2, + const sead::SafeString& name, int a, int b, + int c) const { + return mContactMgr->allocContactPointsEx(heap, num, num2, name, a, b, c); +} + void MemSystem::registerContactPoints(RigidContactPoints* points) const { mContactMgr->registerContactPoints(points); } |
