17 lines
399 B
C#
17 lines
399 B
C#
using GameCoreMath = GameCore.Math.Vector3;
|
|
using GodotMath = Godot.Vector3;
|
|
|
|
namespace CryptonymThunder.Code.Extensions;
|
|
|
|
public static class Vector3Extensions
|
|
{
|
|
public static GodotMath ToGodot(this GameCoreMath v)
|
|
{
|
|
return new GodotMath(v.X, v.Y, v.Z);
|
|
}
|
|
|
|
public static GameCoreMath ToGameCore(this GodotMath v)
|
|
{
|
|
return new GameCoreMath(v.X, v.Y, v.Z);
|
|
}
|
|
} |