Physics3D: Rename Physiscs3DStepListener to PhysWorld3DStepListener

This commit is contained in:
SirLynix
2024-02-10 14:23:01 +01:00
parent 8c41ac30c9
commit 965a00182c
9 changed files with 49 additions and 49 deletions

View File

@@ -22,13 +22,13 @@ namespace Nz
return m_registeredBodies[blockIndex] & (UInt64(1u) << localIndex);
}
inline void PhysWorld3D::RegisterStepListener(Physiscs3DStepListener* stepListener)
inline void PhysWorld3D::RegisterStepListener(PhysWorld3DStepListener* stepListener)
{
auto it = std::lower_bound(m_stepListeners.begin(), m_stepListeners.end(), stepListener);
m_stepListeners.insert(it, stepListener);
}
inline void PhysWorld3D::UnregisterStepListener(Physiscs3DStepListener* stepListener)
inline void PhysWorld3D::UnregisterStepListener(PhysWorld3DStepListener* stepListener)
{
auto it = std::lower_bound(m_stepListeners.begin(), m_stepListeners.end(), stepListener);
assert(*it == stepListener);