Skip to content

Commit 06bdc7b

Browse files
committed
fix(ci): fix api changes for ci to pass
1 parent 3babb15 commit 06bdc7b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

core/math/Point2D.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#include "Point2D.h"
2+
#include <cstdint>
23

34
const Point2D Point2D::UP = Point2D(0, -1);
45
const Point2D Point2D::DOWN = Point2D(0, 1);
56
const Point2D Point2D::LEFT = Point2D(-1, 0);
67
const Point2D Point2D::RIGHT = Point2D(1, 0);
7-
const Point2D Point2D::INFINITE = Point2D(INT_MAX, INT_MAX);
8+
const Point2D Point2D::INFINITE = Point2D(INT32_MAX, INT32_MAX);
89

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

core/math/Vector2.h

+2
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,7 @@ template <FloatType T> struct Vector2 {
138138
};
139139

140140
using Vector2f = Vector2<float>;
141+
using Vector2d = Vector2<double>;
142+
using Vector2lf = Vector2<long double>;
141143

142144
#endif // VECTOR2_H

0 commit comments

Comments
 (0)