Skip to content

Commit

Permalink
fix(ci): fix api changes for ci to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstenko committed Jun 11, 2024
1 parent 3babb15 commit 06bdc7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/math/Point2D.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#include "Point2D.h"
#include <cstdint>

const Point2D Point2D::UP = Point2D(0, -1);
const Point2D Point2D::DOWN = Point2D(0, 1);
const Point2D Point2D::LEFT = Point2D(-1, 0);
const Point2D Point2D::RIGHT = Point2D(1, 0);
const Point2D Point2D::INFINITE = Point2D(INT_MAX, INT_MAX);
const Point2D Point2D::INFINITE = Point2D(INT32_MAX, INT32_MAX);

bool Point2D::operator==(const Point2D& rhs) const { return y == rhs.y && x == rhs.x; }

Expand Down
2 changes: 2 additions & 0 deletions core/math/Vector2.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,7 @@ template <FloatType T> struct Vector2 {
};

using Vector2f = Vector2<float>;
using Vector2d = Vector2<double>;
using Vector2lf = Vector2<long double>;

#endif // VECTOR2_H

0 comments on commit 06bdc7b

Please sign in to comment.