mirror of
https://github.com/zeldaret/botw
synced 2026-08-17 05:01:25 -04:00
ksys/phys: Rename RigidBody/UserTag broadphase border callbacks
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#include "KingSystem/Physics/System/physUserTag.h"
|
||||
#include "KingSystem/Physics/RigidBody/physRigidBody.h"
|
||||
|
||||
namespace ksys::phys {
|
||||
|
||||
void UserTag::m2(void* a) {
|
||||
// FIXME
|
||||
void UserTag::onMaxPositionExceeded(RigidBody* body) {
|
||||
body->onMaxPositionExceeded();
|
||||
}
|
||||
|
||||
void UserTag::m3(void* a, void* b, float c) {
|
||||
|
||||
@@ -13,8 +13,9 @@ class UserTag {
|
||||
public:
|
||||
UserTag() = default;
|
||||
|
||||
// FIXME: names and types
|
||||
virtual void m2(void* a);
|
||||
/// Called when a rigid body goes beyond the broadphase border.
|
||||
/// The default implementation just notifies the rigid body of this callback.
|
||||
virtual void onMaxPositionExceeded(RigidBody* body);
|
||||
// a and b are probably physics bodies?
|
||||
virtual void m3(void* a, void* b, float c);
|
||||
virtual void onBodyShapeChanged(RigidBody* body);
|
||||
|
||||
Reference in New Issue
Block a user