예제 #1
0
 public bool Compare(ref idCQuat a, float epsilon)
 {
     return (
         idMath.Fabs(x - a.x) <= epsilon &&
         idMath.Fabs(y - a.y) <= epsilon &&
         idMath.Fabs(z - a.z) <= epsilon);
 }
예제 #2
0
 public bool Compare(ref idCQuat a, float epsilon)
 {
     return(
         idMath.Fabs(x - a.x) <= epsilon &&
         idMath.Fabs(y - a.y) <= epsilon &&
         idMath.Fabs(z - a.z) <= epsilon);
 }
예제 #3
0
        //public float this[int index] { get { return 0; } }
        #endregion

        #region Compare
        public bool Compare(ref idCQuat a) { return (x == a.x && y == a.y && z == a.z); }
예제 #4
0
        //public float this[int index] { get { return 0; } }
        #endregion

        #region Compare
        public bool Compare(ref idCQuat a)
        {
            return(x == a.x && y == a.y && z == a.z);
        }