public static Vector6Int Normalize(Vector6Int a) { int Mag = Vector6Int.Magnitude(a); return(new Vector6Int( a.largeRow / Mag, a.largeColumn / Mag, a.smallRow / Mag, a.smallColumn / Mag, a.wonBy / Mag, a.valid / Mag)); }
public static int SqrMagnitude(Vector6Int a) { return((int)Mathf.Pow(Vector6Int.Magnitude(a), 2)); }