Home
last modified time | relevance | path

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

12345

/dports/games/scorched3d/scorched/src/client/sky/
H A DHemisphere.cpp133 float dotP = 0.0f; in drawColored() local
136 dotP = e1.Normalize().dotP(sunDir); in drawColored()
137 dotP = (dotP + 1.0f) / 4.0f; in drawColored()
140 c1[0] = MIN(float(bits[bitmapIndexA]) / 255.0f + dotP, 1.0f); in drawColored()
143 c1[1] = MIN(float(bits[bitmapIndexA]) / 255.0f + dotP, 1.0f); in drawColored()
144 c1[2] = MIN(float(bits[bitmapIndexA]) / 255.0f + dotP, 1.0f); in drawColored()
162 float dotP = 0.0f; in drawColored() local
165 dotP = e2.Normalize().dotP(sunDir); in drawColored()
166 dotP = (dotP + 1.0f) / 4.0f; in drawColored()
169 c2[0] = MIN(float(bits[bitmapIndexB]) / 255.0f + dotP, 1.0f); in drawColored()
[all …]
/dports/games/scorched3d/scorched/src/common/common/
H A DLine.cpp74 float Line::dotP(const Line &line) in dotP() function in Line
76 return dir_.dotP(line.dir_); in dotP()
86 if (dotP(line) == 0.0f) return false; in intersect()
94 float u1 = pDir2.dotP((Vector &)((Line &)line).getStart() - start_) / pDir2.dotP(dir1); in intersect()
95 float u2 = pDir1.dotP(start_ - ((Line &)line).getStart()) / pDir1.dotP(dir2); in intersect()
H A DVectorLib.cpp31 return -((n * (2 * s.dotP(n))) - s); in reflection()
41 float v = EO.dotP(V); in sphereIntersection()
42 float disc = (radius * radius) - (EO.dotP(EO) - (v * v)); in sphereIntersection()
/dports/math/clblas/clBLAS-2.10/src/library/blas/gens/clTemplates/
H A Ddot.cl33 %TYPE dotP = (%TYPE) 0.0;
61 dotP += %REDUCE_SUM( res ); // Add-up elements in the vector to give a scalar
74 %ADD( dotP, dotP, res );
78 // dotP of work-item 0 will have the final reduced item of the work-group
79 %REDUCTION_BY_SUM( dotP );
82 scratchBuff[ get_group_id(0) ] = dotP;
/dports/cad/calculix/CalculiX/libSNL/src/
H A DsnlUtil.cpp59 double dotP = lineV.dot ( testV ); in distToLine() local
62 double proj = dotP / lineV.length(); in distToLine()
92 double dotP = lineV.dot ( testV ); in projectToLine() local
95 double proj = dotP / lineV.length(); in projectToLine()
H A DsnlCtrlPointNet.cpp286 double dotP, proj, testLength, normDist; in calcFlatness() local
321 dotP = lineV.dot ( testV ); in calcFlatness()
324 proj = dotP / lineV.length(); in calcFlatness()
441 double dotP = testProject.dot ( endProject ); in isConvex() local
442 if ( dotP > 0 ) return false; in isConvex()
472 double dotP = testProject.dot ( endProject ); in isConvex() local
473 if ( dotP > 0 ) return false; in isConvex()
H A DsnlVector.cpp316 double dotP = dot ( fromVector ); in projectDist() local
318 return sqrt ( fromVector.lengthSqrd() - ( dotP * dotP / lengthSqrd() ) ); in projectDist()
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/view_map/
H A DFEdgeXDetector.cpp449 if ((fabs(flayer->dotP(0)) < threshold) && (fabs(flayer->dotP(1)) < threshold) && in ProcessRidgeFace()
450 (fabs(flayer->dotP(2)) < threshold)) { in ProcessRidgeFace()
550 faceLayer->ReplaceDotP(1, -faceLayer->dotP(1));
554 faceLayer->ReplaceDotP(2, -faceLayer->dotP(2));
560 …if ((faceLayer->dotP(0) < minDiff) && (faceLayer->dotP(1) < minDiff) && (faceLayer->dotP(2) < minD…
597 if ((fabs(faceLayer->dotP(0)) < threshold) && (fabs(faceLayer->dotP(1)) < threshold) && in ProcessSuggestiveContourFace()
598 (fabs(faceLayer->dotP(2)) < threshold)) { in ProcessSuggestiveContourFace()
/dports/games/scorched3d/scorched/src/client/GLEXT/
H A DGLLenseFlare.cpp218 float dotP = (float) flare_dir.dotP(view_dir); in draw() local
219 if (dotP <= 0.2f) return; in draw()
228 dx *= 2.0f * (dotP - 0.2f); in draw()
229 dy *= 2.0f * (dotP - 0.2f); in draw()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/filter_segmentation/
H A DUtils.h28 float dotP = segNormal * faceNormal; in metricNormalDeviation() local
29 return 1.f - fabsf(dotP); in metricNormalDeviation()
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/engine/
H A Drs_line.cpp133 v = RS_Vector::dotP(vpc, direction) / direction_magnitude; in getProjectionValueAlongLine()
158 const double t {RS_Vector::dotP( vpc, direction) / a}; in getNearestPointOnEntity()
346 ce[2]= -normal.dotP(data.endpoint); in getQuadratic()
392 if( RS_Vector::dotP(dvp1, dvp2) > RS_TOLERANCE) in prepareTrim()
407 if ( RS_Vector::dotP(vp1,vp2) < 0 ) { in getTrimPoint()
446 if(RS_Vector::dotP(direction,vp)<0.) { in offset()
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/TypeChecking/Rules/LHS/
H A DUnify.hs449 sigma = liftS (n-k-1) $ consS (dotP u') idS
1319 else return $ dotP (Var i [])
1339 Var _ (_:_) -> return $ dotP v
1340 Lam{} -> return $ dotP v
1341 Pi{} -> return $ dotP v
1342 Def{} -> return $ dotP v
1343 MetaV{} -> return $ dotP v
1344 Sort{} -> return $ dotP v
1345 Level{} -> return $ dotP v
1346 DontCare{} -> return $ dotP v
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/golang.org/x/exp/sumdb/internal/tlog/
H A Dtile.go201 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
207 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/golang.org/x/exp/sumdb/internal/tlog/
H A Dtile.go201 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
207 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/science/qmcpack/qmcpack-3.11.0/src/Particle/Lattice/
H A DLatticeAnalyzer.h174 T dotP = dot(a[0], a[1]);
175 SingleParticlePos_t L0 = a[0] - dotP * a[1];
176 SingleParticlePos_t L1 = a[1] - dotP * a[0];
/dports/lang/gcc12-devel/gcc-12-20211205/libgo/go/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/lang/gcc10/gcc-10.3.0/libgo/go/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/cmd/vendor/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/cmd/vendor/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/security/vault/vault-1.8.2/vendor/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/lang/gcc11/gcc-11.2.0/libgo/go/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/lang/gcc11-devel/gcc-11-20211009/libgo/go/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/devel/liteide/liteide-x37.4/liteidex/vendor/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]
/dports/security/snowflake-tor/snowflake-ead5a960d7fa19dc890ccbfc0765c5ab6629eaa9/vendor/golang.org/x/mod/sumdb/tlog/
H A Dtile.go208 if dotP := f[len(f)-2]; strings.HasSuffix(dotP, ".p") {
214 f[len(f)-2] = dotP[:len(dotP)-len(".p")]

12345