diff --git a/Userland/Libraries/LibGfx/Vector2.h b/Userland/Libraries/LibGfx/Vector2.h index 536e41d388..2de733de44 100644 --- a/Userland/Libraries/LibGfx/Vector2.h +++ b/Userland/Libraries/LibGfx/Vector2.h @@ -17,8 +17,9 @@ namespace Gfx { template using Vector2 = VectorN<2, T>; -using FloatVector2 = Vector2; using DoubleVector2 = Vector2; +using FloatVector2 = Vector2; +using IntVector2 = Vector2; } @@ -36,4 +37,5 @@ struct Formatter> : Formatter { using Gfx::DoubleVector2; using Gfx::FloatVector2; +using Gfx::IntVector2; using Gfx::Vector2; diff --git a/Userland/Libraries/LibGfx/Vector3.h b/Userland/Libraries/LibGfx/Vector3.h index 058413729a..4c73f91551 100644 --- a/Userland/Libraries/LibGfx/Vector3.h +++ b/Userland/Libraries/LibGfx/Vector3.h @@ -17,8 +17,9 @@ namespace Gfx { template using Vector3 = VectorN<3, T>; -using FloatVector3 = Vector3; using DoubleVector3 = Vector3; +using FloatVector3 = Vector3; +using IntVector3 = Vector3; } @@ -36,4 +37,5 @@ struct Formatter> : Formatter { using Gfx::DoubleVector3; using Gfx::FloatVector3; +using Gfx::IntVector3; using Gfx::Vector3; diff --git a/Userland/Libraries/LibGfx/Vector4.h b/Userland/Libraries/LibGfx/Vector4.h index 1e89ce8c2a..dd059b006b 100644 --- a/Userland/Libraries/LibGfx/Vector4.h +++ b/Userland/Libraries/LibGfx/Vector4.h @@ -17,8 +17,9 @@ namespace Gfx { template using Vector4 = VectorN<4, T>; -using FloatVector4 = Vector4; using DoubleVector4 = Vector4; +using FloatVector4 = Vector4; +using IntVector4 = Vector4; } @@ -36,4 +37,5 @@ struct Formatter> : Formatter { using Gfx::DoubleVector4; using Gfx::FloatVector4; +using Gfx::IntVector4; using Gfx::Vector4;