Home
last modified time | relevance | path

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

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/def_files/data/effects/
H A Ddeferred-f.sdr23 float neardist;
76 float neardist = clamp(dot(lightDir, beamDir), 0.0, beamLength);
78 vec3 nearest = adjustedLightPos - beamDir * neardist;
137 neardist, veryneardist);
H A Dshadows.sdr74 float middist, float neardist, float veryneardist)
80 cascade -= int(step(depth, neardist));
85 cascade_start_dist[2] = neardist;
H A Dmain-f.sdr85 float neardist;
175 float neardist = dot(vertIn.position.xyz - lights[i].position.xyz, beamDir);
177 vec3 nearest = lights[i].position.xyz - beamDir * abs(neardist);
337 …-vertIn.position.z, vertIn.shadowPos.z, vertIn.shadowUV, fardist, middist, neardist, veryneardist);
H A Dmain-v.sdr88 float neardist;
H A Dmain-g.sdr94 float neardist;
/dports/graphics/Coin/coin-Coin-4.0.0/src/projectors/
H A DSbPlaneProjector.cpp125 float neardist = vv.getNearDist(); in tryProject() local
126 SbPlane nearplane = vv.getPlane(neardist); in tryProject()
132 SbVec3f nearpt = nearline.getClosestPoint(vv.getSightPoint(neardist)); in tryProject()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/
H A Dshadows.cpp381 …ent, vec3d *eye_pos, float fov, float aspect, float veryneardist, float neardist, float middist, f… in shadows_start_render() argument
395 …ht_matrix, eye_orient, eye_pos, fov, aspect, veryneardist - (veryneardist - 0.0f)* 0.2f, neardist); in shadows_start_render()
396 …dow_frustums[2], &light_matrix, eye_orient, eye_pos, fov, aspect, neardist - (neardist - veryneard… in shadows_start_render()
397 …, &light_matrix, eye_orient, eye_pos, fov, aspect, middist - (middist - neardist) * 0.2f, fardist); in shadows_start_render()
400 Shadow_cascade_distances[1] = neardist; in shadows_start_render()
H A Dshadows.h40 …ent, vec3d *eye_pos, float fov, float aspect, float veryneardist, float neardist, float middist, f…
H A Duniforms.cpp210 data_out->neardist = Shadow_cascade_distances[1]; in convert_model_material()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/util/
H A Duniform_structs.h26 float neardist; member
136 float neardist; member
/dports/games/avp/avp-20170505/src/avp/
H A Dinventry.c1717 int neardist,a; in Recall_Disc() local
1720 neardist=10000000; in Recall_Disc()
1738 if (dist<neardist) { in Recall_Disc()
1740 neardist=dist; in Recall_Disc()
1752 if (dist<neardist) { in Recall_Disc()
1754 neardist=dist; in Recall_Disc()
H A Dbh_agun.c745 int neardist; in Autogun_GetNewTarget() local
756 neardist=ONE_FIXED; in Autogun_GetNewTarget()
772 if (dist<neardist) { in Autogun_GetNewTarget()
H A Dbh_alien.c2125 int neardist; in Alien_GetNewTarget() local
2136 neardist=ONE_FIXED; in Alien_GetNewTarget()
2156 if (dist<neardist) { in Alien_GetNewTarget()
2162 neardist=dist; in Alien_GetNewTarget()
H A Dbh_pred.c5174 int neardist, newblip; in Predator_GetNewTarget() local
5193 neardist=ONE_FIXED; in Predator_GetNewTarget()
5217 if (dist<neardist) { in Predator_GetNewTarget()
5224 neardist=dist; in Predator_GetNewTarget()
5231 neardist=dist; in Predator_GetNewTarget()
H A Dweapons.c6800 int nearest,neardist,dist; local
6807 neardist=1000000;
6821 if (dist<neardist) {
6823 neardist=dist;
8806 int neardist; local
8809 neardist=100000;
8839 if (dist<neardist) {
8841 neardist=dist;
H A Dbh_marin.c11206 int neardist, newblip; local
11226 neardist=ONE_FIXED;
11272 if (dist<neardist) {
11281 neardist=dist;
11290 neardist=dist;
14334 int a,nearest,neardist,dist,priority; local
14350 neardist=10000000;
14382 if (dist<neardist) {
14385 neardist=dist;
14406 if (dist<neardist) {
[all …]
H A Dbh_xeno.c2624 int neardist; in Xenoborg_GetNewTarget() local
2635 neardist=ONE_FIXED; in Xenoborg_GetNewTarget()
2651 if (dist<neardist) { in Xenoborg_GetNewTarget()
H A Dbh_weap.c4115 int a,neardist; local
4125 neardist=ONE_FIXED;
4142 if (dist<neardist) {
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objects/seqfeat/
H A DSubSource.cpp2109 double neardist = 0.0; in ValidateLatLonCountry() local
2113 … m_LatLonCountryMap->IsNearLatLon(lat_value, lon_value, 2.0, neardist, country) && neardist < 5.0)… in ValidateLatLonCountry()
2119 if (!flags && !m_LatLonCountryMap->IsNearLatLon(lat_value, lon_value, 20.0, neardist, country) in ValidateLatLonCountry()
2120 && !m_LatLonWaterMap->IsNearLatLon(lat_value, lon_value, 20.0, neardist, country)) { in ValidateLatLonCountry()
2270 } else if (neardist > 0.0) { in ValidateLatLonCountry()
2273 …e + "' is " + NStr::IntToString(m_LatLonCountryMap->AdjustAndRoundDistance(neardist)) + " km away"; in ValidateLatLonCountry()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objects/seqfeat/
H A DSubSource.cpp2109 double neardist = 0.0; in ValidateLatLonCountry() local
2113 … m_LatLonCountryMap->IsNearLatLon(lat_value, lon_value, 2.0, neardist, country) && neardist < 5.0)… in ValidateLatLonCountry()
2119 if (!flags && !m_LatLonCountryMap->IsNearLatLon(lat_value, lon_value, 20.0, neardist, country) in ValidateLatLonCountry()
2120 && !m_LatLonWaterMap->IsNearLatLon(lat_value, lon_value, 20.0, neardist, country)) { in ValidateLatLonCountry()
2270 } else if (neardist > 0.0) { in ValidateLatLonCountry()
2273 …e + "' is " + NStr::IntToString(m_LatLonCountryMap->AdjustAndRoundDistance(neardist)) + " km away"; in ValidateLatLonCountry()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/opengl/
H A Dgropengldeferred.cpp150 header->neardist = Shadow_cascade_distances[1]; in gr_opengl_deferred_lighting_finish()
/dports/cad/xcircuit/xcircuit-3.10.30/
H A Dprototypes.h679 extern Boolean neardist(long);
/dports/graphics/Coin/coin-Coin-4.0.0/src/actions/
H A DSoToVRML2Action.cpp368 float neardist = vv.getNearDist(); in getBBoxDistance() local
374 return (neardist / projheight) * h2; in getBBoxDistance()
/dports/biology/fasttree/FastTree-2.1.10_5/
H A DFastTree-2.1.10.c7757 double neardist = besthitsSeed[2 * tophits->m - 1].dist * close; in SetAllLeafTopHits() local
7769 nearweight *= (1.0-2.0*neardist/3.0); in SetAllLeafTopHits()
7770 double nearcover = 1.0 - neardist/2.0; in SetAllLeafTopHits()
7773 neardist, nearweight, NJ->nPos-nGaps[seed]); in SetAllLeafTopHits()
7781 bool close = closehit->dist <= neardist in SetAllLeafTopHits()
/dports/biology/ncbi-toolkit/ncbi/api/
H A Dvalid.c14882 FloatHi neardist, in LatLonWaterErrors() argument
14941 } else if (neardist > 0) { in LatLonWaterErrors()
14943 …CR_LatLonWater, fmt, lat_lon, lmp->guesswater, fullname, AdjustAndRoundDistance (neardist, scale)); in LatLonWaterErrors()
15196 FloatHi neardist = 0.0; in NewerValidateCountryLatLon() local
15328 if (!test && CountryIsNearLatLon(country, lat, lon, 2.0, &neardist) && neardist < 5.0) { in NewerValidateCountryLatLon()
15335 && !CountryIsNearLatLon(country, lat, lon, 20.0, &neardist) in NewerValidateCountryLatLon()
15336 && !WaterIsNearLatLon(country, lat, lon, 20.0, &neardist) in NewerValidateCountryLatLon()
15374 LatLonWaterErrors(vsp, &llm, test, neardist, country, province, lat_lon, fullname, scale); in NewerValidateCountryLatLon()