Home
last modified time | relevance | path

Searched refs:NORMAL_EPSILON (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/zhlt/zhlt-3.4/hlbsp/
H A Dtjunc.cpp81 if (vec[0] > NORMAL_EPSILON ) in CanonicalVector()
85 else if (vec[0] < -NORMAL_EPSILON ) in CanonicalVector()
95 if (vec[1] > NORMAL_EPSILON ) in CanonicalVector()
99 else if (vec[1] < -NORMAL_EPSILON ) in CanonicalVector()
109 if (vec[2] > NORMAL_EPSILON ) in CanonicalVector()
113 else if (vec[2] < -NORMAL_EPSILON ) in CanonicalVector()
/dports/games/zhlt/zhlt-3.4/hlcsg/
H A Dbrush.cpp56 if (fabs(normal[j] - p->normal[j]) > NORMAL_EPSILON) in FindIntPlane()
145 if( -NORMAL_EPSILON < (t = normal[0] - g_mapplanes[returnval].normal[0]) && t < NORMAL_EPSILON && in FindIntPlane()
146 -NORMAL_EPSILON < (t = normal[1] - g_mapplanes[returnval].normal[1]) && t < NORMAL_EPSILON && in FindIntPlane()
147 -NORMAL_EPSILON < (t = normal[2] - g_mapplanes[returnval].normal[2]) && t < NORMAL_EPSILON ) in FindIntPlane()
570 if (fabs(p2->normal[j] - p1->normal[j]) > NORMAL_EPSILON) in IPlaneEquiv()
582 if (fabs(p2->normal[j] - p1->normal[j]) > NORMAL_EPSILON) in IPlaneEquiv()
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/extra/bsp/qbsp3/
H A Dmap.c96 #define NORMAL_EPSILON 0.00001 macro
102 fabs(p->normal[0] - normal[0]) < NORMAL_EPSILON in PlaneEqual()
103 && fabs(p->normal[1] - normal[1]) < NORMAL_EPSILON in PlaneEqual()
104 && fabs(p->normal[2] - normal[2]) < NORMAL_EPSILON in PlaneEqual()
190 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in SnapVector()
196 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in SnapVector()
/dports/games/gtkradiant/GPL/Q2Tools/bsp/qbsp3/
H A Dmap.c96 #define NORMAL_EPSILON 0.00001 macro
102 fabs(p->normal[0] - normal[0]) < NORMAL_EPSILON in PlaneEqual()
103 && fabs(p->normal[1] - normal[1]) < NORMAL_EPSILON in PlaneEqual()
104 && fabs(p->normal[2] - normal[2]) < NORMAL_EPSILON in PlaneEqual()
190 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in SnapVector()
196 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in SnapVector()
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/q2map/
H A Dmap.c96 #define NORMAL_EPSILON 0.00001 macro
102 fabs(p->normal[0] - normal[0]) < NORMAL_EPSILON in PlaneEqual()
103 && fabs(p->normal[1] - normal[1]) < NORMAL_EPSILON in PlaneEqual()
104 && fabs(p->normal[2] - normal[2]) < NORMAL_EPSILON in PlaneEqual()
190 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in SnapVector()
196 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in SnapVector()
/dports/games/zhlt/zhlt-3.4/common/
H A Dwinding.cpp650 if (normal[j] < 1.0 - NORMAL_EPSILON) in Clip()
652 if (normal[j] > -1.0 + NORMAL_EPSILON) in Clip()
857 if (split.normal[j] < 1.0 - NORMAL_EPSILON) in Clip()
859 if (split.normal[j] > -1.0 + NORMAL_EPSILON) in Clip()
1000 if (split.normal[j] < 1.0 - NORMAL_EPSILON) in Divide()
1002 if (split.normal[j] > -1.0 + NORMAL_EPSILON) in Divide()
H A Dmathlib.h26 #define NORMAL_EPSILON 0.00001 macro
93 if (length < NORMAL_EPSILON) in VectorNormalize()
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/q2map/
H A Dmap.c100 #define NORMAL_EPSILON 0.00001 macro
105 fabs( p->normal[0] - normal[0] ) < NORMAL_EPSILON in PlaneEqual()
106 && fabs( p->normal[1] - normal[1] ) < NORMAL_EPSILON in PlaneEqual()
107 && fabs( p->normal[2] - normal[2] ) < NORMAL_EPSILON in PlaneEqual()
192 if ( fabs( normal[i] - 1 ) < NORMAL_EPSILON ) { in SnapVector()
197 if ( fabs( normal[i] - -1 ) < NORMAL_EPSILON ) { in SnapVector()
/dports/games/openjk/OpenJK-07675e2/code/qcommon/
H A Dcm_patch.cpp453 #define NORMAL_EPSILON 0.00015 macro
460 Q_fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
461 && Q_fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
462 && Q_fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
473 Q_fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
474 && Q_fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
475 && Q_fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
490 if ( Q_fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
496 if ( Q_fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/ioquake3-server/ioquake3-1.36/code/qcommon/
H A Dcm_patch.c423 #define NORMAL_EPSILON 0.0001 macro
435 fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
436 && fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
437 && fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
448 fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
449 && fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
450 && fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
470 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
476 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/ioquake3/ioquake3-1.36/code/qcommon/
H A Dcm_patch.c423 #define NORMAL_EPSILON 0.0001 macro
435 fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
436 && fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
437 && fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
448 fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
449 && fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
450 && fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
470 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
476 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/iortcw/iortcw-1.51c/MP/code/qcommon/
H A Dcm_patch.c457 #define NORMAL_EPSILON 0.0001 macro
464 fabs( p->plane[0] - plane[0] ) < NORMAL_EPSILON in CM_PlaneEqual()
465 && fabs( p->plane[1] - plane[1] ) < NORMAL_EPSILON in CM_PlaneEqual()
466 && fabs( p->plane[2] - plane[2] ) < NORMAL_EPSILON in CM_PlaneEqual()
476 fabs( p->plane[0] - invplane[0] ) < NORMAL_EPSILON in CM_PlaneEqual()
477 && fabs( p->plane[1] - invplane[1] ) < NORMAL_EPSILON in CM_PlaneEqual()
478 && fabs( p->plane[2] - invplane[2] ) < NORMAL_EPSILON in CM_PlaneEqual()
492 if ( fabs( normal[i] - 1 ) < NORMAL_EPSILON ) { in CM_SnapVector()
497 if ( fabs( normal[i] - -1 ) < NORMAL_EPSILON ) { in CM_SnapVector()
/dports/games/iortcw/iortcw-1.51c/SP/code/qcommon/
H A Dcm_patch.c430 #define NORMAL_EPSILON 0.0001 macro
442 fabs( p->plane[0] - plane[0] ) < NORMAL_EPSILON in CM_PlaneEqual()
443 && fabs( p->plane[1] - plane[1] ) < NORMAL_EPSILON in CM_PlaneEqual()
444 && fabs( p->plane[2] - plane[2] ) < NORMAL_EPSILON in CM_PlaneEqual()
454 fabs( p->plane[0] - invplane[0] ) < NORMAL_EPSILON in CM_PlaneEqual()
455 && fabs( p->plane[1] - invplane[1] ) < NORMAL_EPSILON in CM_PlaneEqual()
456 && fabs( p->plane[2] - invplane[2] ) < NORMAL_EPSILON in CM_PlaneEqual()
475 if ( fabs( normal[i] - 1 ) < NORMAL_EPSILON ) { in CM_SnapVector()
480 if ( fabs( normal[i] - -1 ) < NORMAL_EPSILON ) { in CM_SnapVector()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/qcommon/
H A Dcm_patch.c424 #define NORMAL_EPSILON 0.0001 macro
436 fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
437 && fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
438 && fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
449 fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
450 && fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
451 && fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
471 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
477 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/evq3/evq3/code/qcommon/
H A Dcm_patch.c423 #define NORMAL_EPSILON 0.0001 macro
435 fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
436 && fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
437 && fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
448 fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
449 && fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
450 && fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
470 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
476 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/qcommon/
H A Dcm_patch.c423 #define NORMAL_EPSILON 0.0001 macro
435 fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
436 && fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
437 && fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
448 fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
449 && fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
450 && fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
470 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
476 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/openarena/openarena-engine-source-0.8.8/code/qcommon/
H A Dcm_patch.c423 #define NORMAL_EPSILON 0.0001 macro
435 fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
436 && fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
437 && fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
448 fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
449 && fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
450 && fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
470 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
476 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/openjk/OpenJK-07675e2/codemp/qcommon/
H A Dcm_patch.cpp417 #define NORMAL_EPSILON 0.00015 macro
424 Q_fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
425 && Q_fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
426 && Q_fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
437 Q_fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
438 && Q_fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
439 && Q_fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
454 if ( Q_fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
460 if ( Q_fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/qcommon/
H A Dcm_patch.c423 #define NORMAL_EPSILON 0.0001 macro
435 fabs(p->plane[0] - plane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
436 && fabs(p->plane[1] - plane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
437 && fabs(p->plane[2] - plane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
448 fabs(p->plane[0] - invplane[0]) < NORMAL_EPSILON in CM_PlaneEqual()
449 && fabs(p->plane[1] - invplane[1]) < NORMAL_EPSILON in CM_PlaneEqual()
450 && fabs(p->plane[2] - invplane[2]) < NORMAL_EPSILON in CM_PlaneEqual()
470 if ( fabs(normal[i] - 1) < NORMAL_EPSILON ) in CM_SnapVector()
476 if ( fabs(normal[i] - -1) < NORMAL_EPSILON ) in CM_SnapVector()
/dports/games/ufoai/ufoai-2.5-source/src/tools/ufo2map/
H A Dmap.cpp105 if (fabs(p->normal[0] - normal[0]) < NORMAL_EPSILON in PlaneEqual()
106 && fabs(p->normal[1] - normal[1]) < NORMAL_EPSILON in PlaneEqual()
107 && fabs(p->normal[2] - normal[2]) < NORMAL_EPSILON in PlaneEqual()
169 if (fabs(normal[i] - 1) < NORMAL_EPSILON) { in SnapVector()
174 if (fabs(normal[i] - -1) < NORMAL_EPSILON) { in SnapVector()
/dports/graphics/Coin/coin-Coin-4.0.0/src/caches/
H A DSoNormalCache.cpp80 #define NORMAL_EPSILON FLT_EPSILON macro
413 NORMAL_EPSILON); in generatePerVertex()
420 NORMAL_EPSILON)) { in generatePerVertex()
1140 #undef NORMAL_EPSILON
/dports/games/ufoai/ufoai-2.5-source/src/shared/
H A Ddefines.h384 #define NORMAL_EPSILON 0.00001 macro
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/compilers/dmap/
H A Dmap.cpp66 #define NORMAL_EPSILON 0.00001f macro
81 return dmapGlobals.mapPlanes.FindPlane( p, NORMAL_EPSILON, DIST_EPSILON ); in FindFloatPlane()
/dports/games/zhlt/zhlt-3.4/hlvis/
H A Dflow.cpp169 if (normal[j] < (1.0 - NORMAL_EPSILON)) in ChopWinding()
171 if (normal[j] > (-1.0 + NORMAL_EPSILON)) in ChopWinding()
/dports/games/dhewm3/dhewm3-1.5.1/neo/cm/
H A DCollisionModel_load.cpp1298 #define NORMAL_EPSILON 0.01f macro
1314 if ( idMath::Fabs( p1->plane.Dist() - p2->plane.Dist() ) > NORMAL_EPSILON ) { in TryMergePolygons()
1318 if ( idMath::Fabs( p1->plane.Normal()[i] - p2->plane.Normal()[i] ) > NORMAL_EPSILON ) { in TryMergePolygons()

12