Home
last modified time | relevance | path

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

12

/dports/science/py-pymol/pymol-open-source-2.4.0/layer0/
H A DTriangle.cpp88 dot[0] = dot_product3f(axis3, n1); in TriangleDegenerate()
89 dot[1] = dot_product3f(axis3, n2); in TriangleDegenerate()
90 dot[2] = dot_product3f(axis3, n3); in TriangleDegenerate()
295 if(dot_product3f(xtn, tn) < 0.0) { in TriangleMakeStripVLA()
408 if(dot_product3f(tn0, tn) < 0.0F) { in TriangleAdjustNormals()
415 if(dot_product3f(tn1, tn) < 0.0F) { in TriangleAdjustNormals()
874 ((dot_product3f(n1, vt2)) < 0.1) || ((dot_product3f(n2, vt2)) < 0.1)) in TriangleBuildObvious()
1057 ((dot_product3f(n1, vt2)) < 0.1) || ((dot_product3f(n2, vt2)) < 0.1)) in TriangleBuildSecondPass()
1182 dot = dot_product3f(n0, n1) + dot_product3f(n0, n2); in TriangleBuildSecondSecondPass()
1214 ((dot_product3f(n1, vt2)) < 0.1) || ((dot_product3f(n2, vt2)) < 0.1)) in TriangleBuildSecondSecondPass()
[all …]
H A DVector.h320 inline float dot_product3f(const float * v1, const float * v2) { in dot_product3f() function
H A DShaderMgr.cpp1519 float NdotL = dot_product3f(normal, L); in Generate_LightingTexture()
1538 float NdotH = std::max(dot_product3f(normal, H), 0.f); in Generate_LightingTexture()
H A DSphere.cpp490 if(dot_product3f(vt, result->dot[S->Tri[a][0]]) < 0.0) { /* if wrong, then interchange */ in MakeDotSphere()
H A DVector.cpp241 float dp = dot_product3f(v1, unit); in extrapolate3f()
1641 if(dot_product3f(dd3, pos_d) < _0) in get_dihedral3f()
H A DTetsurf.cpp1256 dp = dot_product3f(v, tt->p[b]->Normal); in TetsurfFindActiveBoxes()
H A DIsosurf.cpp1301 if(dot_product3f(interp_gradient, prev_grad_normal) < min_dot) in IsosurfGradients()
/dports/science/py-pymol/pymol-open-source-2.4.0/layer1/
H A DShaker.cpp87 return (dot_product3f(d0, cp)); in ShakerGetPyra()
109 cur = dot_product3f(d0, cp); in ShakerDoPyra()
170 dev = dot_product3f(d1, d4); /* current deviation */ in ShakerDoLine()
221 dp = dot_product3f(cp0, cp1); in ShakerDoPlan()
H A DBasis.cpp323 axial = -dot_product3f(axis, dir); in FrontToInteriorSphere()
455 if(dot_product3f(intra_p, dir) >= 0.0) in ZLineToSphereCapped()
594 dangle = dot_product3f(ray, dir); in LineToSphereCapped()
818 dangle = dot_product3f(ray, dir); in ConeLineToSphereCapped()
1074 axial = -dot_product3f(axis, dir); in FrontToInteriorSphereCapped()
1245 d1 = dot_product3f(ray, n1); in LineClipEllipsoidPoint()
1246 d2 = dot_product3f(ray, n2); in LineClipEllipsoidPoint()
1247 d3 = dot_product3f(ray, n3); in LineClipEllipsoidPoint()
1413 d1 = dot_product3f(direct, n1); in BasisGetEllipsoidNormal()
1414 d2 = dot_product3f(direct, n2); in BasisGetEllipsoidNormal()
[all …]
H A DRay.cpp547 r->dotgle = dot_product3f(r->dir, r->surfnormal); in RayReflectAndTexture()
1230 if(dot_product3f(p->n0, n0) < 0.0F) in TriangleReverse()
2852 if(dot_product3f(light, n0 - 3) >= _0) in RayProjectTriangle()
2854 else if(dot_product3f(light, n0) >= _0) in RayProjectTriangle()
2856 else if(dot_product3f(light, n0 + 3) >= _0) in RayProjectTriangle()
2858 else if(dot_product3f(light, n0 + 6) >= _0) in RayProjectTriangle()
2877 if(dot_product3f(r->surfnormal, d3) >= _0) in RayProjectTriangle()
4033 dotgle = -dot_product3f(r1.surfnormal, bp->LightNormal); in RayTraceThread()
4058 dotgle = -(dot_product3f(r1.dir, tmp)) * 1.004F; in RayTraceThread()
4065 … dotgle = -dot_product3f(r1.surfnormal, bp->SpecNormal); /* fast OpenGL-like global specular */ in RayTraceThread()
[all …]
H A DView.cpp1079 double dot = dot_product3f(bisect, v2); in ViewElemInterpolate()
H A DExtrude.cpp1891 if(fabs(dot_product3f(sn, z)) > R_SMALL4) { in ExtrudeCGOSurfaceStrand()
H A DCGO.cpp7989 const float z = dot_product3f(pc + 1, I->z_vector); in CGORenderGLAlpha()
8165 dd0 = dot_product3f(direction, nn0); in CGOSimpleEllipsoid()
8166 dd1 = dot_product3f(direction, nn1); in CGOSimpleEllipsoid()
8167 dd2 = dot_product3f(direction, nn2); in CGOSimpleEllipsoid()
/dports/science/py-pymol/pymol-open-source-2.4.0/layer2/
H A DRepSphere.cpp356 float t_dot = dot_product3f(dot, dot + a * 3); in SphereComputeCutMultiplier()
473 if(dot_product3f(v1, vv) > cutoff) { in RepSphereSetNormalForSphere()
H A DHydrogenAdder.cpp104 if (dot_product3f(normal, v2) < 0) { in get_planer_normal_cs()
H A DRepCartoon.cpp2187 f0 = dot_product3f(t0, p0); in CartoonGenerateRefine()
2188 f1 = dot_product3f(t0, p1); in CartoonGenerateRefine()
2189 f2 = dot_product3f(t0, p2); in CartoonGenerateRefine()
3241 if(dot_product3f(ndata->voptr - 9, ndata->voptr - 12) < -0.8F) in RepCartoonComputeRoundHelices()
3362 max_dot = dot_product3f(o0, o1); in RepCartoonRefineNormals()
3364 dp = dot_product3f(o0, o1 + 3); in RepCartoonRefineNormals()
3383 …dp = (dot_product3f(ndata->voptr, ndata->voptr + 3) * dot_product3f(ndata->voptr, ndata->voptr - 3… in RepCartoonRefineNormals()
3390 if(dot_product3f(ndata->voptr, t0) < 0.0F) { in RepCartoonRefineNormals()
H A DObjectMolecule.cpp3219 scale3f(x0, dot_product3f(t, x1), x); in AddCoordinateIntoCoordSet()
3220 scale3f(y0, dot_product3f(t, y1), y); in AddCoordinateIntoCoordSet()
3221 scale3f(z0, dot_product3f(t, z1), z); in AddCoordinateIntoCoordSet()
3694 if(dot_product3f(normal, v2) < 0) { in get_planer_normal()
3700 if(dot_product3f(normal, v2) < 0) { in get_planer_normal()
4733 avg = (dot_product3f(cp1, cp2) + in ObjectMoleculeGetAtomGeometry()
4734 dot_product3f(cp2, cp3) + dot_product3f(cp3, cp1)) / 3.0F; in ObjectMoleculeGetAtomGeometry()
4747 dp = dot_product3f(d1, d2); in ObjectMoleculeGetAtomGeometry()
4795 avg += dot_product3f(cp[i], cp[i + 1]); in compute_avg_center_dot_cross_fn()
4823 float dot = fabs(dot_product3f(d10, dir)); in verify_planer_bonds()
[all …]
H A DObjectVolume.cpp1033 c = dot_product3f(v, w); in ObjectVolumeDrawSlice()
1034 s = dot_product3f(zaxis, q); in ObjectVolumeDrawSlice()
H A DObjectSlice.cpp830 c = dot_product3f(v, w);
831 s = dot_product3f(zaxis, q);
H A DObjectMolecule2.cpp2820 …if(dot_product3f(nHToAcc, nAccPlane) > (-hbc->cone_dangle)) /* don't allow H behind Acceptor plane… in ObjectMoleculeTestHBond()
2827 dangle = dot_product3f(nDonToH, nDonToAcc); in ObjectMoleculeTestHBond()
2906 best_dot = dot_product3f(best, dir); in ObjectMoleculeFindBestDonorH()
2925 cand_dot = dot_product3f(cand_dir, dir); in ObjectMoleculeFindBestDonorH()
H A DSculpt.cpp131 dp = dot_product3f(perp0, perp1); in ShakerDoTors()
173 sign = dot_product3f(axis, dir); in ShakerDoTors()
H A DRepSurface.cpp2756 if(dot_product3f(v_to, n0) >= carve_normal_cutoff) { in RepSurfaceColor()
3105 if(dot_product3f(I->VN + (3 * j), vn) > min_dot) { in SurfaceJobEliminateCloseDotsType3orMore()
3261 dot_sum += dot_product3f(n0, vn); in SurfaceJobEliminateTroublesomeVerticesMark()
3398 if((dot_product3f(n0, vn) < 0.666 /* dot_cutoff, was hardcoded as a variable */ ) in SurfaceJobRefineAddNewVerticesCheckPoint()
/dports/science/py-pymol/pymol-open-source-2.4.0/layer3/
H A DEditor.cpp2334 if(dot_product3f(d0, I->Axis) < 0.0) { in EditorDrag()
2354 if(dot_product3f(n1, mov) < 0.0) in EditorDrag()
2364 theta = -dot_product3f(d0, mov); in EditorDrag()
H A DSelector.cpp3389 if(dot_product3f(v1, dir) < -angle_cutoff) in SelectorGetPairIndices()
3392 if(dot_product3f(v2, dir) > angle_cutoff) in SelectorGetPairIndices()
/dports/science/py-pymol/pymol-open-source-2.4.0/contrib/champ/
H A Dchamp.c4324 static float dot_product3f ( float *v1, float *v2 ) in dot_product3f() function
4455 if(dot_product3f(vd[0],vt)>0.0F) { in ChampDetectChirality()

12