Fixed compile error

This commit is contained in:
Diren D Bharwani 2022-11-16 00:04:56 +08:00
parent f172ccb744
commit a9f77d666c
2 changed files with 16 additions and 10 deletions

View File

@ -121,15 +121,6 @@ namespace SHADE
, SHRigidBodyComponent* rigidBodyComponent , SHRigidBodyComponent* rigidBodyComponent
, SHColliderComponent* colliderComponent , SHColliderComponent* colliderComponent
) noexcept; ) noexcept;
static void postUpdateSyncTransforms
(
SHPhysicsObject& physicsObject
, SHTransformComponent* transformComponent
, SHRigidBodyComponent* rigidBodyComponent
, SHColliderComponent* colliderComponent
, double interpolationFactor
) noexcept;
}; };
class SH_API PhysicsFixedUpdate final : public SHFixedSystemRoutine class SH_API PhysicsFixedUpdate final : public SHFixedSystemRoutine
@ -162,6 +153,21 @@ namespace SHADE
/*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/
void Execute(double dt) noexcept override; void Execute(double dt) noexcept override;
private:
/*-------------------------------------------------------------------------------*/
/* Function Members */
/*-------------------------------------------------------------------------------*/
static void postUpdateSyncTransforms
(
SHPhysicsObject& physicsObject
, SHTransformComponent* transformComponent
, SHRigidBodyComponent* rigidBodyComponent
, SHColliderComponent* colliderComponent
, double interpolationFactor
) noexcept;
}; };
private: private:

View File

@ -298,7 +298,7 @@ namespace SHADE
} }
} }
void SHPhysicsSystem::PhysicsPreUpdate::postUpdateSyncTransforms void SHPhysicsSystem::PhysicsPostUpdate::postUpdateSyncTransforms
( (
SHPhysicsObject& physicsObject SHPhysicsObject& physicsObject
, SHTransformComponent* transformComponent , SHTransformComponent* transformComponent