reinit branch
This commit is contained in:
10
OrekiWoofsBees.Common/VectorConversionUtils.cs
Normal file
10
OrekiWoofsBees.Common/VectorConversionUtils.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Numerics;
|
||||
using Vintagestory.API.MathTools;
|
||||
|
||||
namespace OrekiWoofsBees.Common;
|
||||
|
||||
public static class VectorConversionUtils
|
||||
{
|
||||
public static Vector3 ToVector3(this Vec3f v) => new(v.X, v.Y, v.Z);
|
||||
public static Vec3f ToVec3f(this Vector3 v) => new(v.X, v.Y, v.Z);
|
||||
}
|
||||
Reference in New Issue
Block a user