Nick J. Connors d721201b0e Forked
Renamed to new horizons, updated to current versions of OWML and Outer Wilds, added BlackHoleBuilder, LavaBuilder, RingBuilder. Added support to modify existing planets with configs.
2021-12-08 00:09:11 -05:00

29 lines
593 B
C#

using UnityEngine;
namespace NewHorizons.Utility
{
public class MVector3
{
public MVector3(float x, float y, float z)
{
X = x;
Y = y;
Z = z;
}
public float X { get; }
public float Y { get; }
public float Z { get; }
public static implicit operator MVector3(Vector3 vec)
{
return new MVector3(vec.x, vec.y, vec.z);
}
public static implicit operator Vector3(MVector3 vec)
{
return new Vector3(vec.X, vec.Y, vec.Z);
}
}
}