JoltPhysics3D: Add elapsedTime parameter to PostSimulate
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Nz
|
||||
void Destroy();
|
||||
|
||||
private:
|
||||
void PostSimulate() override;
|
||||
void PostSimulate(float elapsedTime) override;
|
||||
void PreSimulate(float elapsedTime) override;
|
||||
|
||||
std::shared_ptr<JoltCharacterImpl> m_impl;
|
||||
@@ -100,7 +100,7 @@ namespace Nz
|
||||
JoltCharacterImpl(JoltCharacterImpl&&) = delete;
|
||||
virtual ~JoltCharacterImpl();
|
||||
|
||||
virtual void PostSimulate(JoltCharacter& character);
|
||||
virtual void PostSimulate(JoltCharacter& character, float elapsedTime);
|
||||
virtual void PreSimulate(JoltCharacter& character, float elapsedTime);
|
||||
|
||||
JoltCharacterImpl& operator=(const JoltCharacterImpl&) = delete;
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Nz
|
||||
JoltPhysicsStepListener(JoltPhysicsStepListener&&) = delete;
|
||||
virtual ~JoltPhysicsStepListener();
|
||||
|
||||
virtual void PostSimulate();
|
||||
virtual void PostSimulate(float elapsedTime);
|
||||
virtual void PreSimulate(float elapsedTime);
|
||||
|
||||
JoltPhysicsStepListener& operator=(const JoltPhysicsStepListener&) = delete;
|
||||
|
||||
Reference in New Issue
Block a user