diff options
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 |
