Home
last modified time | relevance | path

Searched refs:perpDist (Results 1 – 8 of 8) sorted by relevance

/dports/x11-wm/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8/src/atlantis/
H A Dswim.c431 float perpDist; in BoidsAngle() local
443 if (perpDist > 50000) in BoidsAngle()
446 if (perpDist <= as->fish[i].size / 2) in BoidsAngle()
447 perpDist = as->fish[i].size / 2; in BoidsAngle()
450 if (perpDist <= as->fish[i].size) in BoidsAngle()
459 perpDist = as->fish[i].size / 2; in BoidsAngle()
461 if (perpDist <= as->fish[i].size) in BoidsAngle()
463 Z -= factor / perpDist; in BoidsAngle()
467 perpDist = as->fish[i].size / 2; in BoidsAngle()
469 if (perpDist <= as->fish[i].size) in BoidsAngle()
[all …]
H A Dfloat.c62 float perpDist = (as->sideDistance - bubble->size); in BubblePilot() local
96 directDist = perpDist / cosAng; in BubblePilot()
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/BA/
H A Ddefendbehaviour.lua102 guardPos = RandomAway(guardPos, self.perpDist, false, self.perpendicular)
150 self.perpDist = dist
153 self.perpDist = nil
/dports/games/pioneer/pioneer-20210723/src/
H A DCamera.cpp320 const double perpDist = lightDir.Dot(b2pos); in CalcShadows() local
322 if (perpDist <= 0 || perpDist > bLightPos.Length()) in CalcShadows()
336 const double lrad = (lightRadius / bLightPos.Length()) * perpDist / bRadius; in CalcShadows()
341 const vector3d projectedCentre = (b2pos - perpDist * lightDir) / bRadius; in CalcShadows()
/dports/science/py-pymol/pymol-open-source-2.4.0/layer1/
H A DBasis.cpp56 float dot, perpDist; in ZLineToSphere() local
65 if((perpDist < _0 ? -perpDist : perpDist) > radius) in ZLineToSphere()
130 radial = radius * radius - perpDist * perpDist; in ZLineToSphere()
208 perpDist = intra0 * perpAxis0; in LineToSphere()
215 if((perpDist < _0 ? -perpDist : perpDist) > radius) in LineToSphere()
283 radial = radius * radius - perpDist * perpDist; in LineToSphere()
367 if(fabs(perpDist) > radius) { in ZLineToSphereCapped()
469 radial = radius * radius - perpDist * perpDist; in ZLineToSphereCapped()
586 perpDist = dot_product3f(intra, perpAxis); in LineToSphereCapped()
590 if(fabs(perpDist) > radius) { in LineToSphereCapped()
[all …]
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Renderer/
H A DPerspectiveCamera.cpp149 const float perpDist = perpendicularDistanceTo(position); in doGetPerspectiveScalingFactor() local
150 return perpDist / viewportFrustumDistance(); in doGetPerspectiveScalingFactor()
/dports/cad/sumo/sumo-1.2.0/src/libsumo/
H A DPerson.cpp628 const double perpDist = lane->getShape().distance2D(pos, false); in moveToXY() local
629 if (perpDist != GeomHelper::INVALID_OFFSET) { in moveToXY()
630 lanePosLat = perpDist; in moveToXY()
642 if (tmp.distance2D(pos) > perpDist) { in moveToXY()
H A DVehicle.cpp1179 const double perpDist = lane->getShape().distance2D(pos, false);
1180 if (perpDist != GeomHelper::INVALID_OFFSET) {
1181 lanePosLat = perpDist;
1193 if (tmp.distance2D(pos) > perpDist) {