diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-12-04 20:27:22 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-12-04 20:27:22 +0100 |
| commit | 2b974cc30f568a82bb0b1da9c82339ab943ac841 (patch) | |
| tree | ff463aeb523c14bf9f5c1c2ea80f0a90cc887236 /Drawing2D/src/Point.cs | |
| parent | a3d4977a3cb6d7e4ce4f9627842398e6ab25d9a8 (diff) | |
wipBackends
Diffstat (limited to 'Drawing2D/src/Point.cs')
| -rw-r--r-- | Drawing2D/src/Point.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Drawing2D/src/Point.cs b/Drawing2D/src/Point.cs index 72bb2232..8f4066a5 100644 --- a/Drawing2D/src/Point.cs +++ b/Drawing2D/src/Point.cs @@ -8,6 +8,9 @@ namespace Drawing2D { public struct Point : IEquatable<Point>, IEquatable<int> { + public static readonly Point UnitX = new Point (1,0); + public static readonly Point UnitY = new Point (0,1); + public int X, Y; #region CTOR |