Searched refs:DIST_EPSILON (Results 1 - 3 of 3) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dpmovetst.c168 #define DIST_EPSILON (0.03125) macro
229 if ( (t1 >= DIST_EPSILON && t2 >= DIST_EPSILON) || (t2 > t1 && t1 >= 0) )
231 if ( (t1 <= -DIST_EPSILON && t2 <= -DIST_EPSILON) || (t2 < t1 && t1 <= 0) )
235 // put the crosspoint DIST_EPSILON pixels on the near side
237 frac = (t1 + DIST_EPSILON)/(t1-t2);
239 frac = (t1 - DIST_EPSILON)/(t1-t2);
/external/quake/quake/src/QW/server/
H A Dworld.c525 #define DIST_EPSILON (0.03125) macro
586 if ( (t1 >= DIST_EPSILON && t2 >= DIST_EPSILON) || (t2 > t1 && t1 >= 0) )
588 if ( (t1 <= -DIST_EPSILON && t2 <= -DIST_EPSILON) || (t2 < t1 && t1 <= 0) )
592 // put the crosspoint DIST_EPSILON pixels on the near side
594 frac = (t1 + DIST_EPSILON)/(t1-t2);
596 frac = (t1 - DIST_EPSILON)/(t1-t2);
/external/quake/quake/src/WinQuake/
H A Dworld.cpp573 #define DIST_EPSILON (0.03125) macro
634 if ( (t1 >= DIST_EPSILON && t2 >= DIST_EPSILON) || (t2 > t1 && t1 >= 0) )
636 if ( (t1 <= -DIST_EPSILON && t2 <= -DIST_EPSILON) || (t2 < t1 && t1 <= 0) )
640 // put the crosspoint DIST_EPSILON pixels on the near side
642 frac = (t1 + DIST_EPSILON)/(t1-t2);
644 frac = (t1 - DIST_EPSILON)/(t1-t2);

Completed in 37 milliseconds