thief-mission-viewer/project/code/TMV/Utils.cs

12 lines
266 B
C#

using System.Numerics;
namespace KeepersCompound.TMV;
public static class Utils
{
const float InverseScale = 4.0f;
public static Godot.Vector3 ToGodotVec3(this Vector3 vec)
{
return new Godot.Vector3(vec.Y, vec.Z, vec.X) / InverseScale;
}
}