using Unity.Mathematics;
using UnityEngine;

namespace pdinklag
{
    public static class MathematicsExtensions
    {
        public static double3 ToDouble3(this Vector3 v) => new double3(v.x, v.y, v.z);
        public static Vector3 ToVector3(this double3 v) => new Vector3((float)v.x, (float)v.y, (float)v.z);
    }
}
