summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physMemSystem.cpp
blob: a8193a33c2d8f47ba97eaab943224de07b1ce2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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