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/physSystemData.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/physSystemData.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physSystemData.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physSystemData.cpp b/src/KingSystem/Physics/System/physSystemData.cpp index 9280e5f5..825edf69 100644 --- a/src/KingSystem/Physics/System/physSystemData.cpp +++ b/src/KingSystem/Physics/System/physSystemData.cpp @@ -135,6 +135,8 @@ agl::utl::ResParameterArchive SystemData::loadLayerTableRes(const SystemData::La case ContactLayerType::Sensor: path = "Physics/System/SensorLayerTable.bphyslayer"; break; + case ContactLayerType::Invalid: + break; } const auto& resource = *matrix.mResHandle->load(path, &request); auto* direct_resource = sead::DynamicCast<const sead::DirectResource>(&resource); @@ -170,6 +172,8 @@ agl::utl::ResParameterArchive SystemData::loadContactInfoTableRes(ContactLayerTy case ContactLayerType::Sensor: path = "Physics/System/SensorContactInfoTable.bphyscontact"; break; + case ContactLayerType::Invalid: + break; } /// @bug Possible bug? The request is never used. const auto& resource = *mContactInfoTableHandles[int(type)]->load(path, nullptr); |
