MoonTools.Curve/Curve/Extensions.cs

10 lines
209 B
C#

using System.Numerics;
namespace MoonTools.Curve.Extensions
{
public static class Vector2Extensions
{
public static Vector2 XY(this Vector3 vector) => new Vector2(vector.X, vector.Y);
}
}