Skip to content

Commit

Permalink
style (*): Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Clang Robot committed Jan 10, 2024
1 parent db0b9b5 commit 5879522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Examples/Entity-Component-System/src/FortniteEvent.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 5879522

Please sign in to comment.