public override bool Equals(object obj) { if (obj.GetType() != typeof(VectorRange)) { return(false); } VectorRange other = (VectorRange)obj; return(other._least == _least && other._greatest == _greatest && other._routineIndex == _routineIndex); }
private static bool AnyCheck(VectorRange range, Vector2 vector2) { return(true); }
private static bool FourthQuadrantCheck(VectorRange range, Vector2 vector) { CalculateCosAndSinTheta(out float cos_phi, out float sin_phi, vector); return(vector.y >= 0 || cos_phi <= range._cos_th); }