diff --git a/GameEngine/src/Exodia/Scene/Components/DefaultComponents/RigidBody2DComponent.hpp b/GameEngine/src/Exodia/Scene/Components/DefaultComponents/RigidBody2DComponent.hpp index 8c59ff6b..a04cd50e 100644 --- a/GameEngine/src/Exodia/Scene/Components/DefaultComponents/RigidBody2DComponent.hpp +++ b/GameEngine/src/Exodia/Scene/Components/DefaultComponents/RigidBody2DComponent.hpp @@ -57,7 +57,9 @@ namespace Exodia { float Mass; RigidBody2DComponent(RigidBody2DComponent const &) = default; - RigidBody2DComponent(BodyType type = BodyType::Static, glm::vec2 velocity = glm::vec2(0.0f), float gravityScale = 1.0f, float mass = 1.0f) : Type(type), Velocity(velocity), GravityScale(gravityScale), Mass(mass){}; + RigidBody2DComponent(BodyType type = BodyType::Static, glm::vec2 velocity = glm::vec2(0.0f), + float gravityScale = 1.0f, float mass = 1.0f) + : Type(type), Velocity(velocity), GravityScale(gravityScale), Mass(mass){}; virtual void Serialize(YAML::Emitter &out) { out << YAML::Key << "RigidBody2DComponent";