fix: Vector2D Normal Debugger Display
This commit is contained in:
parent
1c7d941bc1
commit
d7d53e467a
|
@ -2,7 +2,7 @@ using System;
|
||||||
|
|
||||||
namespace Syntriax.Engine.Core;
|
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 struct Vector2D(float X, float Y)
|
||||||
{
|
{
|
||||||
public readonly float X { get; init; } = X;
|
public readonly float X { get; init; } = X;
|
||||||
|
|
Loading…
Reference in New Issue