Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatyas committed Sep 16, 2024
1 parent 06737bb commit 2f803b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/math/Vec2.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ struct Vec2 {

constexpr explicit Vec2() = default;
constexpr Vec2(T inX, T inY) : x(inX), y(inY) {}
constexpr Vec2(int inX, int inY) : x(inX), y(inY) {}

static constexpr Vec2 zero() {
return Vec2();
Expand Down

0 comments on commit 2f803b1

Please sign in to comment.