Exemple #1
0
        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);
        }
Exemple #2
0
 private static bool AnyCheck(VectorRange range, Vector2 vector2)
 {
     return(true);
 }
Exemple #3
0
 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);
 }