ksys/phys: Start adding ClosestPointQuery and iterator stuff

This commit is contained in:
Léo Lam
2022-03-06 22:50:15 +01:00
parent 6229e5d41a
commit 62959cc554
12 changed files with 249 additions and 16 deletions
@@ -25,6 +25,11 @@ enum class IsIndoorStage {
Yes,
};
enum class LowPriority : bool {
Yes = true,
No = false,
};
class System {
SEAD_SINGLETON_DISPOSER(System)
System();
@@ -72,6 +77,9 @@ public:
void lockWorld(ContactLayerType type, void* a = nullptr, int b = 0, bool c = false);
void unlockWorld(ContactLayerType type, void* a = nullptr, int b = 0, bool c = false);
// 0x0000007101216cec
sead::Heap* getPhysicsTempHeap(LowPriority low_priority) const;
private:
u8 _28[0x64 - 0x28];
float _64 = 1.0 / 30.0;