|
@@ -17,8 +17,9 @@ namespace Gfx {
|
|
|
|
|
|
template<class T>
|
|
template<class T>
|
|
using Vector2 = VectorN<2, T>;
|
|
using Vector2 = VectorN<2, T>;
|
|
-using FloatVector2 = Vector2<float>;
|
|
|
|
using DoubleVector2 = Vector2<double>;
|
|
using DoubleVector2 = Vector2<double>;
|
|
|
|
+using FloatVector2 = Vector2<float>;
|
|
|
|
+using IntVector2 = Vector2<int>;
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -36,4 +37,5 @@ struct Formatter<Gfx::Vector2<T>> : Formatter<StringView> {
|
|
|
|
|
|
using Gfx::DoubleVector2;
|
|
using Gfx::DoubleVector2;
|
|
using Gfx::FloatVector2;
|
|
using Gfx::FloatVector2;
|
|
|
|
+using Gfx::IntVector2;
|
|
using Gfx::Vector2;
|
|
using Gfx::Vector2;
|