public static double AngleBetween(Vector3d from, Vector3d to) { return(Mathd.Acos(Mathd.Clamp(Vector3d.Dot(from.normalized, to.normalized), -1d, 1d))); }
public static double Angle(Vector3d from, Vector3d to) { return(Mathd.Acos(Mathd.Clamp(Vector3d.Dot(from.normalized, to.normalized), -1d, 1d)) * 57.29578d); }