1 Commits

Author SHA1 Message Date
d7d53e467a fix: Vector2D Normal Debugger Display 2024-01-29 17:41:53 +03:00

View File

@@ -2,7 +2,7 @@ using System;
namespace Syntriax.Engine.Core;
[System.Diagnostics.DebuggerDisplay("{ToString(),nq}, Length: {Magnitude}, LengthSquared: {MagnitudeSquared}, Normalized: {Normalized}")]
[System.Diagnostics.DebuggerDisplay("{ToString(),nq}, Length: {Magnitude}, LengthSquared: {MagnitudeSquared}, Normalized: {Normalized.ToString(),nq}")]
public readonly struct Vector2D(float X, float Y)
{
public readonly float X { get; init; } = X;