From 32531ba067bf90753a7d1218183fbec001ce4865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 29 Dec 2021 17:58:17 +0100 Subject: ksys/phys: Add RigidContactPoints allocation functions --- src/KingSystem/Physics/System/physMemSystem.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/KingSystem/Physics/System/physMemSystem.cpp') 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); } -- cgit v1.2.3