コード例 #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);
        }