diff --git a/Hypercube.Mathematics/Vectors/Vector2i.cs b/Hypercube.Mathematics/Vectors/Vector2i.cs index f262840..4c31f00 100644 --- a/Hypercube.Mathematics/Vectors/Vector2i.cs +++ b/Hypercube.Mathematics/Vectors/Vector2i.cs @@ -1,4 +1,5 @@ using System.Collections; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -6,7 +7,7 @@ namespace Hypercube.Mathematics.Vectors; -[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential)] +[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential), DebuggerDisplay("({X}, {Y})")] [SuppressMessage("ReSharper", "InconsistentNaming")] public readonly partial struct Vector2i : IEquatable, IComparable, IComparable, IEnumerable { diff --git a/Hypercube.Mathematics/Vectors/Vector3.cs b/Hypercube.Mathematics/Vectors/Vector3.cs index a778ec3..2b63edb 100644 --- a/Hypercube.Mathematics/Vectors/Vector3.cs +++ b/Hypercube.Mathematics/Vectors/Vector3.cs @@ -1,4 +1,5 @@ using System.Collections; +using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Hypercube.Mathematics.Extensions; @@ -9,7 +10,7 @@ namespace Hypercube.Mathematics.Vectors; /// /// Represents a vector with three single-precision floating-point values. /// -[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential)] +[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential), DebuggerDisplay("({X}, {Y}, {Z})")] public readonly partial struct Vector3 : IEquatable, IComparable, IComparable, IEnumerable { /// diff --git a/Hypercube.Mathematics/Vectors/Vector3i.cs b/Hypercube.Mathematics/Vectors/Vector3i.cs index 7419bc6..fdfbde0 100644 --- a/Hypercube.Mathematics/Vectors/Vector3i.cs +++ b/Hypercube.Mathematics/Vectors/Vector3i.cs @@ -1,4 +1,5 @@ using System.Collections; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -6,7 +7,7 @@ namespace Hypercube.Mathematics.Vectors; -[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential)] +[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential), DebuggerDisplay("({X}, {Y}, {Z})")] [SuppressMessage("ReSharper", "InconsistentNaming")] public readonly partial struct Vector3i : IEquatable, IComparable, IComparable, IEnumerable { diff --git a/Hypercube.Mathematics/Vectors/Vector4.cs b/Hypercube.Mathematics/Vectors/Vector4.cs index 0262540..47c5a25 100644 --- a/Hypercube.Mathematics/Vectors/Vector4.cs +++ b/Hypercube.Mathematics/Vectors/Vector4.cs @@ -1,4 +1,5 @@ using System.Collections; +using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Hypercube.Mathematics.Extensions; @@ -6,7 +7,7 @@ namespace Hypercube.Mathematics.Vectors; -[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential)] +[PublicAPI, Serializable, StructLayout(LayoutKind.Sequential), DebuggerDisplay("({X}, {Y}, {Z}, {W})")] public readonly partial struct Vector4 : IEquatable, IComparable, IComparable, IEnumerable { ///