diff --git a/engine/include/cubos/engine/physics/components/force.hpp b/engine/include/cubos/engine/physics/components/force.hpp index c6a8d27100..edca5450b2 100644 --- a/engine/include/cubos/engine/physics/components/force.hpp +++ b/engine/include/cubos/engine/physics/components/force.hpp @@ -15,10 +15,9 @@ namespace cubos::engine /// @ingroup physics-plugin struct Force { - public: CUBOS_REFLECT; - const glm::vec3 getForce() const + glm::vec3 getForce() const { return mForce; } @@ -30,7 +29,7 @@ namespace cubos::engine void clearForce() { - mForce = {0.0f, 0.0f, 0.0f}; + mForce = {0.0F, 0.0F, 0.0F}; } private: diff --git a/engine/include/cubos/engine/physics/components/impulse.hpp b/engine/include/cubos/engine/physics/components/impulse.hpp index 4d498278a5..220d5437aa 100644 --- a/engine/include/cubos/engine/physics/components/impulse.hpp +++ b/engine/include/cubos/engine/physics/components/impulse.hpp @@ -15,10 +15,9 @@ namespace cubos::engine /// @ingroup physics-plugin struct Impulse { - public: CUBOS_REFLECT; - const glm::vec3 getImpulse() const + glm::vec3 getImpulse() const { return mImpulse; } @@ -30,7 +29,7 @@ namespace cubos::engine void clearImpulse() { - mImpulse = {0.0f, 0.0f, 0.0f}; + mImpulse = {0.0F, 0.0F, 0.0F}; } private: