From c14689f233e33eeb52a7cf3ee57c82d6e925d727 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:33:08 +1000 Subject: [PATCH] Add more directions for Vector2i (#5386) Convenient. --- Robust.Shared.Maths/Vector2i.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Robust.Shared.Maths/Vector2i.cs b/Robust.Shared.Maths/Vector2i.cs index b8ea4a96f..ad11d2bfe 100644 --- a/Robust.Shared.Maths/Vector2i.cs +++ b/Robust.Shared.Maths/Vector2i.cs @@ -27,6 +27,11 @@ namespace Robust.Shared.Maths public static readonly Vector2i Left = (-1, 0); public static readonly Vector2i Right = (1, 0); + public static readonly Vector2i DownLeft = (-1, -1); + public static readonly Vector2i DownRight = (1, -1); + public static readonly Vector2i UpRight = (1, 1); + public static readonly Vector2i UpLeft = (-1, 1); + /// /// The X component of the Vector2i. ///