Fixing compatibility issues

This commit is contained in:
Zoe Roux
2021-06-23 21:16:36 +02:00
parent 4de2d61aaa
commit c8c97f7eb7
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -17,13 +17,13 @@ namespace ComSquare
T x;
T y;
Vector2<T>()
Vector2()
: x(0), y(0) {}
Vector2<T>(T _x, T _y)
Vector2(T _x, T _y)
: x(_x), y(_y) {}
Vector2<T>(sf::Vector2<T> v)
Vector2(sf::Vector2<T> v)
: x(v.x), y(v.y) {}
template<typename T2>