Skip to content

Commit

Permalink
chore: clang tidy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
realstealthninja committed May 9, 2023
1 parent ec817d6 commit 63a0012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions math/vector2.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "vector2.hpp"
#include "cassert"
#include <cassert>

vector2::vector2(float x, float y) : x(x), y(y){};
vector2::vector2(const vector2 &vector) : x(vector.x), y(vector.y) {}
vector2::vector2(float x, float y) : x(x), y(y) {};
vector2::vector2(const vector2 &vector) : x(vector.x), y(vector.y) {};

vector2 vector2::operator+(const vector2 &v) const {
return vector2(x + v.x, y + v.y);
Expand Down

0 comments on commit 63a0012

Please sign in to comment.