diff options
| author | Léo Lam <leo@leolam.fr> | 2021-12-27 21:56:20 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-12-29 02:19:32 +0100 |
| commit | b513fbbf03dddaaf9084dd8358a656380f73c3d2 (patch) | |
| tree | 08e9ce961f104a552dbe782ebd32ee606e430565 /src/KingSystem/Physics/System/physMemSystem.cpp | |
| parent | e187c1ecfd7eeae05b2f7e9bf8f3719850e1a845 (diff) | |
ksys/phys: Start adding RigidContactPoints
Super messy stuff. I have no idea what it's used for
Diffstat (limited to 'src/KingSystem/Physics/System/physMemSystem.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physMemSystem.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physMemSystem.cpp b/src/KingSystem/Physics/System/physMemSystem.cpp index e69de29b..a8193a33 100644 --- a/src/KingSystem/Physics/System/physMemSystem.cpp +++ b/src/KingSystem/Physics/System/physMemSystem.cpp @@ -0,0 +1,22 @@ +#include "KingSystem/Physics/System/physMemSystem.h" +#include "KingSystem/Physics/System/physContactMgr.h" + +namespace ksys::phys { + +SEAD_SINGLETON_DISPOSER_IMPL(MemSystem) + +RigidContactPoints* MemSystem::allocContactPoints(sead::Heap* heap, int num, + const sead::SafeString& name, int a, int b, + int c) const { + return mContactMgr->allocContactPoints(heap, num, name, a, b, c); +} + +void MemSystem::freeContactPoints(RigidContactPoints* points) const { + mContactMgr->freeContactPoints(points); +} + +void MemSystem::registerContactPoints(RigidContactPoints* points) const { + mContactMgr->registerContactPoints(points); +} + +} // namespace ksys::phys |
