Home
last modified time | relevance | path

Searched refs:lensqr (Results 1 – 11 of 11) sorted by relevance

/dports/graphics/tachyon/tachyon/src/
H A Dtriangle.c313 flt U, V, W, lensqr, invlen; in stri_normal() local
317 lensqr = DOT(norm, norm); in stri_normal()
322 U = DOT(tmp, norm) / lensqr; in stri_normal()
325 V = DOT(tmp, norm) / lensqr; in stri_normal()
354 flt U, V, W, lensqr; in vcstri_color() local
359 lensqr = DOT(norm, norm); in vcstri_color()
364 U = DOT(tmp, norm) / lensqr; in vcstri_color()
380 flt U, V, W, lensqr, invlen; in stri_normal_reverse() local
384 lensqr = DOT(norm, norm); in stri_normal_reverse()
420 flt U, V, W, lensqr, invlen; in stri_normal_guess() local
[all …]
/dports/astro/pykep/pykep-2.6/src/third_party/cspice/
H A Dstelab.c36 doublereal lensqr; in stelab_() local
285 lensqr = vdot_(vbyc, vbyc); in stelab_()
286 if (lensqr >= 1.) { in stelab_()
/dports/astro/py-pykep/pykep-2.6/src/third_party/cspice/
H A Dstelab.c36 doublereal lensqr; in stelab_() local
285 lensqr = vdot_(vbyc, vbyc); in stelab_()
286 if (lensqr >= 1.) { in stelab_()
/dports/games/shaaft/Shaaft-0.5.0/utils/
H A DQuaternion.hpp70 float lensqr = w*w + x*x + y*y + z*z; in norm() local
71 if( fabs(lensqr-1.0f) > EPSILON) in norm()
73 if( lensqr < (EPSILON*EPSILON)) in norm()
79 float len = sqrt(lensqr); in norm()
/dports/games/criticalmass/CriticalMass-1.5/utils/
H A DQuaternion.hpp69 double lensqr = w*w + x*x + y*y + z*z; in norm() local
70 if( fabs(lensqr-1.0) > EPSILON) in norm()
72 if( lensqr < (EPSILON*EPSILON)) in norm()
78 double len = sqrt(lensqr); in norm()
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/parallel_for/tachyon/src/
H A Dtriangle.cpp219 flt U, V, W, lensqr; in stri_normal() local
223 lensqr = DOT(norm, norm); in stri_normal()
228 U = DOT(tmp, norm) / lensqr; in stri_normal()
231 V = DOT(tmp, norm) / lensqr; in stri_normal()
/dports/devel/tbb/oneTBB-2020.3/examples/parallel_for/tachyon/src/
H A Dtriangle.cpp219 flt U, V, W, lensqr; in stri_normal() local
223 lensqr = DOT(norm, norm); in stri_normal()
228 U = DOT(tmp, norm) / lensqr; in stri_normal()
231 V = DOT(tmp, norm) / lensqr; in stri_normal()
/dports/devel/onetbb/oneTBB-2021.4.0/examples/parallel_for/tachyon/src/
H A Dtriangle.cpp207 flt U, V, W, lensqr; in stri_normal() local
211 lensqr = DOT(norm, norm); in stri_normal()
216 U = DOT(tmp, norm) / lensqr; in stri_normal()
219 V = DOT(tmp, norm) / lensqr; in stri_normal()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Platforms.Default/
H A DOpenAlSoundEngine.cs232 var lensqr = (s.Pos - pos).LengthSquared; in Play2D()
233 if (lensqr >= GroupDistanceSqr) in Play2D()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/
H A DBSPTree.cpp151 const double lensqr = p.norm[0]*p.norm[0] in set_split_plane() local
154 if (fabs(lensqr - 1.0) < std::numeric_limits<double>::epsilon()) in set_split_plane()
157 const double inv_len = 1.0/sqrt(lensqr); in set_split_plane()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/test/parallel/
H A Dparallel_hdf5_test.cpp475 double lensqr = coords2[0]*coords2[0] + coords2[1]*coords2[1] + coords2[2]*coords2[2]; in check_identical_mesh() local
476 if (lensqr < 1e-12) in check_identical_mesh()