diff options
| author | Léo Lam <leo@leolam.fr> | 2022-03-02 01:18:25 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-03-02 01:25:11 +0100 |
| commit | b2a66ca8586d435dc417d0d9aa65e6b445fe9855 (patch) | |
| tree | ef64560ad069e99e7773ab905671222b3b8ea163 /src/KingSystem/Physics/System/physContactMgr.cpp | |
| parent | 220cb534689303a2ef4df51a41b6142cfe9b7ee2 (diff) | |
ksys/phys: ContactPointInfoEx -> ContactLayerContactPointInfo
Turns out it's the equivalent to ContactLayerCollisionInfo.
Diffstat (limited to 'src/KingSystem/Physics/System/physContactMgr.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physContactMgr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/KingSystem/Physics/System/physContactMgr.cpp b/src/KingSystem/Physics/System/physContactMgr.cpp index 43735edd..02b76086 100644 --- a/src/KingSystem/Physics/System/physContactMgr.cpp +++ b/src/KingSystem/Physics/System/physContactMgr.cpp @@ -1,9 +1,9 @@ #include "KingSystem/Physics/System/physContactMgr.h" #include <prim/seadScopedLock.h> #include "KingSystem/Physics/System/physContactPointInfo.h" -#include "KingSystem/Physics/System/physContactPointInfoEx.h" #include "KingSystem/Physics/System/physEntityGroupFilter.h" #include "KingSystem/Physics/System/physGroupFilter.h" +#include "KingSystem/Physics/System/physLayerContactPointInfo.h" #include "KingSystem/Physics/System/physSystem.h" namespace ksys::phys { @@ -84,10 +84,10 @@ ContactPointInfo* ContactMgr::allocContactPoints(sead::Heap* heap, int num, return points; } -ContactPointInfoEx* ContactMgr::allocContactPointsEx(sead::Heap* heap, int num, int num2, - const sead::SafeString& name, int a, int b, - int c) { - auto* points = new (heap) ContactPointInfoEx(name, a, b, c); +LayerContactPointInfo* ContactMgr::allocContactPointsEx(sead::Heap* heap, int num, int num2, + const sead::SafeString& name, int a, int b, + int c) { + auto* points = new (heap) LayerContactPointInfo(name, a, b, c); points->allocPoints(heap, num, num2); registerContactPointInfo(points); return points; |
