public CubeCoordinatesFloat(CubeCoordinatesInt cubeCoordinatesInt) { Q = cubeCoordinatesInt.Q; R = cubeCoordinatesInt.R; S = cubeCoordinatesInt.S; }
public bool Equals(CubeCoordinatesInt other) { return(Mathf.Approximately(Q, other.Q) && Mathf.Approximately(S, other.S) && Mathf.Approximately(R, other.R)); }