MoonTools.Curve/Curve/Extensions.cs

9 lines
221 B
C#

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