mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
11 lines
212 B
C#
11 lines
212 B
C#
|
|
using Godot;
|
|||
|
|
|
|||
|
|
namespace Cirno.Scripts.Utils;
|
|||
|
|
|
|||
|
|
public static class VectorExtensions
|
|||
|
|
{
|
|||
|
|
public static Vector2 ToVector2(this Vector3 original)
|
|||
|
|
{
|
|||
|
|
return new Vector2(original.X, original.Z);
|
|||
|
|
}
|
|||
|
|
}
|