/dports/net/yggdrasil/yggdrasil-go-0.3.11/src/yggdrasil/ |
H A D | switch.go | 654 bestDist := table.self.dist(coords) 657 if !(dist < bestDist) { 661 bestDist = dist
|
/dports/math/psurface/psurface-2.0.0-13-gb5b6825/ |
H A D | NormalProjector.cpp | 122 ctype bestDist = std::numeric_limits<ctype>::max(); in project() local 167 if (distance < bestDist) { in project() 169 bestDist = distance; in project() 210 ctype bestDist = std::numeric_limits<ctype>::max(); in project() local 233 if (dist<bestDist) { in project() 236 bestDist = dist; in project()
|
/dports/games/openjk/OpenJK-07675e2/code/game/ |
H A D | g_turret.cpp | 447 float bestDist = self->radius * self->radius; in turret_find_enemies() local 517 if ( enemyDist < bestDist )// all things equal, keep current in turret_find_enemies() 529 bestDist = enemyDist; in turret_find_enemies() 1465 float bestDist = self->radius * self->radius; in pas_find_enemies() local 1538 if ( enemyDist < bestDist )// all things equal, keep current in pas_find_enemies() 1550 bestDist = enemyDist; in pas_find_enemies()
|
H A D | NPC_senses.cpp | 1064 float dist, bestDist = Q3_INFINITE; in G_FindLocalInterestPoint() local 1082 if ( dist < MAX_INTEREST_DIST && dist < bestDist ) in G_FindLocalInterestPoint() 1086 bestDist = dist; in G_FindLocalInterestPoint()
|
H A D | g_trigger.cpp | 1030 float dist, bestDist = 64*64; in trigger_teleporter_find_closest_portal() local 1038 if ( dist < bestDist ) in trigger_teleporter_find_closest_portal() 1041 bestDist = dist; in trigger_teleporter_find_closest_portal()
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/Arceliar/ironwood/network/ |
H A D | dhtree.go | 244 bestDist := best.dist(dest) 255 case dist < bestDist: 257 case dist > bestDist: 263 bestDist = dist
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/ |
H A D | BrittleFracture.cpp | 1013 float a, c, s, dist, bestDist; in Fracture_r() local 1039 bestDist = 0.0f; in Fracture_r() 1046 if ( dist > bestDist ) { in Fracture_r() 1047 bestDist = dist; in Fracture_r()
|
/dports/cad/sumo/sumo-1.2.0/src/utils/router/ |
H A D | IntermodalNetwork.h | 299 double bestDist = std::numeric_limits<double>::max(); in getDepartEdge() local 304 if (dist < bestDist) { in getDepartEdge() 305 bestDist = dist; in getDepartEdge()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/ |
H A D | actor.cpp | 1729 int bestDist = 0xFF; in adjustXYToBeInBox() local 1745 if (dist < bestDist) { in adjustXYToBeInBox() 1746 bestDist = dist; in adjustXYToBeInBox() 1760 int tmpDist, bestDist, threshold, numBoxes; in adjustXYToBeInBox() local 1779 bestDist = (_vm->_game.version >= 7) ? 0x7FFFFFFF : 0xFFFF; in adjustXYToBeInBox() 1810 if (tmpDist < bestDist) { in adjustXYToBeInBox() 1818 bestDist = tmpDist; in adjustXYToBeInBox() 1825 if (threshold == 0 || threshold * threshold >= bestDist) { in adjustXYToBeInBox()
|
/dports/games/openjk/OpenJK-07675e2/codemp/game/ |
H A D | ai_wpnav.c | 1339 float bestDist = 0; in ConnectTrail() local 1355 bestDist = testDist; in ConnectTrail() 1360 if (testDist < bestDist) in ConnectTrail() 1363 bestDist = testDist; in ConnectTrail() 2522 float bestDist = 0; in G_NearestNodeToPoint() local 2533 bestDist = testDist; in G_NearestNodeToPoint() 2539 if (testDist < bestDist) in G_NearestNodeToPoint() 2542 bestDist = testDist; in G_NearestNodeToPoint()
|
H A D | g_turret_G2.c | 691 float bestDist = self->radius * self->radius; in turretG2_find_enemies() local 797 if ( enemyDist < bestDist || (target->client && !foundClient))// all things equal, keep current in turretG2_find_enemies() 812 bestDist = enemyDist; in turretG2_find_enemies()
|
/dports/games/spring/spring_98.0/rts/Sim/Units/CommandAI/ |
H A D | TransportCAI.cpp | 898 float bestDist = std::numeric_limits<float>::max(); in FindUnitToTransport() local 912 if (dist >= bestDist) in FindUnitToTransport() 918 bestDist = dist; in FindUnitToTransport()
|
/dports/editors/calligra/calligra-3.2.1/sheets/ |
H A D | ValueFormatter.cpp | 490 double bestDist = target; in fractionFormat() local 495 if (dist < bestDist) { in fractionFormat() 496 bestDist = dist; in fractionFormat()
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
H A D | g_trigger.cpp | 1003 float dist, bestDist = 64*64; in trigger_teleporter_find_closest_portal() local 1011 if ( dist < bestDist ) in trigger_teleporter_find_closest_portal() 1014 bestDist = dist; in trigger_teleporter_find_closest_portal()
|
/dports/science/py-pymol/pymol-open-source-2.4.0/layer2/ |
H A D | RepMesh.cpp | 975 float bestDist; in RepMeshNew() local 981 bestDist = FLT_MAX; in RepMeshNew() 993 if(dist2vdw < bestDist) { in RepMeshNew() 994 bestDist = dist2vdw; in RepMeshNew()
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/ |
H A D | BrittleFracture.cpp | 1043 float a, c, s, dist, bestDist; in Fracture_r() local 1078 bestDist = 0.0f; in Fracture_r() 1085 if ( dist > bestDist ) { in Fracture_r() 1086 bestDist = dist; in Fracture_r()
|
/dports/devel/vcglib/vcglib-2020.09/vcg/complex/algorithms/ |
H A D | curve_on_manifold.h | 746 ScalarType bestDist = std::numeric_limits<ScalarType>::max(); in TestSplitSegWithMesh() local 759 if(Distance(samplePnt,closestPt) < bestDist ) in TestSplitSegWithMesh() 769 bestDist = Distance(samplePnt,closestPt); in TestSplitSegWithMesh() 775 if(bestDist < par.surfDistThr*100) in TestSplitSegWithMesh()
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/ |
H A D | actor.cpp | 1826 int bestDist = 0xFF; in adjustXYToBeInBox() local 1842 if (dist < bestDist) { in adjustXYToBeInBox() 1843 bestDist = dist; in adjustXYToBeInBox() 1857 int tmpDist, bestDist, threshold, numBoxes; in adjustXYToBeInBox() local 1876 bestDist = (_vm->_game.version >= 7) ? 0x7FFFFFFF : 0xFFFF; in adjustXYToBeInBox() 1907 if (tmpDist < bestDist) { in adjustXYToBeInBox() 1915 bestDist = tmpDist; in adjustXYToBeInBox() 1922 if (threshold == 0 || threshold * threshold >= bestDist) { in adjustXYToBeInBox()
|
/dports/x11/xrandr/xrandr-1.5.1/ |
H A D | xrandr.c | 852 double bestDist = 0; in find_mode() local 870 if (!best || dist < bestDist) in find_mode() 872 bestDist = dist; in find_mode() 908 double bestDist = 0; in find_mode_for_output() local 933 if (!best || dist < bestDist) in find_mode_for_output() 935 bestDist = dist; in find_mode_for_output() 949 int bestDist; in preferred_mode() local 952 bestDist = 0; in preferred_mode() 967 if (!best || dist < bestDist) in preferred_mode() 970 bestDist = dist; in preferred_mode()
|
/dports/games/ufoai/ufoai-2.5-source/src/game/ |
H A D | g_ai.cpp | 1100 int bestDist = ROUTING_NOT_REACHABLE; in AI_FindMissionLocation() local 1116 if (dist < bestDist) { in AI_FindMissionLocation() 1117 bestDist = dist; in AI_FindMissionLocation() 1125 return bestDist < ROUTING_NOT_REACHABLE; in AI_FindMissionLocation()
|
/dports/net/yggdrasil/yggdrasil-go-0.3.11/misc/sim/ |
H A D | treesim-forward.py | 181 bestDist = 0 185 if not best or dist < bestDist: 187 bestDist = dist
|
/dports/games/spring/spring_98.0/AI/Skirmish/E323AI/ |
H A D | CEconomy.cpp | 408 float bestDist = std::numeric_limits<float>::max(); in getBestSpot() local 472 if (dist < bestDist) { in getBestSpot() 473 bestDist = dist; in getBestSpot()
|
/dports/games/iortcw/iortcw-1.51c/MP/code/cgame/ |
H A D | cg_event.c | 627 float bestDist, dist; in CG_PainEvent() local 647 for ( tagIndex = 0, bestDist = 0, bestTag = -1; tagAnims[tagIndex].tag; tagIndex++ ) { in CG_PainEvent() 654 if ( !bestDist || dist < bestDist ) { in CG_PainEvent() 656 bestDist = dist; in CG_PainEvent()
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/ai/ |
H A D | AI_pathing.cpp | 711 float bestDist; in PrunePathTree() local 726 bestDist = idMath::INFINITY; in PrunePathTree() 732 if ( n->dist < bestDist ) { in PrunePathTree() 733 bestDist = n->dist; in PrunePathTree()
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/ai/ |
H A D | AI_pathing.cpp | 708 float bestDist; in PrunePathTree() local 723 bestDist = idMath::INFINITY; in PrunePathTree() 729 if ( n->dist < bestDist ) { in PrunePathTree() 730 bestDist = n->dist; in PrunePathTree()
|