Refactor Collider base class to improve code sharing across collider shape types
This commit is contained in:
@@ -25,9 +25,6 @@ private:
|
||||
|
||||
void OnCollisionDataChanged();
|
||||
void OnCollisionDataLoaded();
|
||||
#if USE_EDITOR
|
||||
void DrawPhysicsDebug(RenderView& view);
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
||||
@@ -45,10 +42,8 @@ protected:
|
||||
|
||||
// [Collider]
|
||||
#if USE_EDITOR
|
||||
void OnEnable() override;
|
||||
void OnDisable() override;
|
||||
void DrawPhysicsDebug(RenderView& view) override;
|
||||
#endif
|
||||
void UpdateBounds() override;
|
||||
void CreateShape() override;
|
||||
void UpdateGeometry() override;
|
||||
void GetGeometry(PxGeometryHolder& geometry) override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user