From 5879522a9c77e7f74b2ab3c3fa359e1051e9c070 Mon Sep 17 00:00:00 2001 From: Clang Robot Date: Wed, 10 Jan 2024 19:38:27 +0000 Subject: [PATCH] style (*): Committing clang-format changes --- Examples/Entity-Component-System/src/FortniteEvent.hpp | 4 +--- .../Components/DefaultComponents/RigidBody2DComponent.hpp | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Examples/Entity-Component-System/src/FortniteEvent.hpp b/Examples/Entity-Component-System/src/FortniteEvent.hpp index 8fcf6748..c89127da 100644 --- a/Examples/Entity-Component-System/src/FortniteEvent.hpp +++ b/Examples/Entity-Component-System/src/FortniteEvent.hpp @@ -58,9 +58,7 @@ namespace Exodia { // when unconfigure is called you usually want to unsubscribe from all events. } - virtual std::string GetTypeOfSystem() const override { - return "FortniteZone"; - } + virtual std::string GetTypeOfSystem() const override { return "FortniteZone"; } private: // Attributes 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";