Home
last modified time | relevance | path

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

12345678910>>...18

/dports/devel/bullet/bullet3-3.21/src/BulletSoftBody/
H A DbtSparseSDF.h271 normal.setX(Lerp(Lerp(gx[0], gx[1], iy.f), in Evaluate()
272 Lerp(gx[2], gx[3], iy.f), iz.f)); in Evaluate()
273 normal.setY(Lerp(Lerp(gy[0], gy[1], ix.f), in Evaluate()
274 Lerp(gy[2], gy[3], ix.f), iz.f)); in Evaluate()
275 normal.setZ(Lerp(Lerp(gz[0], gz[1], ix.f), in Evaluate()
276 Lerp(gz[2], gz[3], ix.f), iy.f)); in Evaluate()
282 const btScalar d0 = Lerp(Lerp(d[0], d[1], ix.f), in Evaluate()
283 Lerp(d[3], d[2], ix.f), iy.f); in Evaluate()
284 const btScalar d1 = Lerp(Lerp(d[4], d[5], ix.f), in Evaluate()
285 Lerp(d[7], d[6], ix.f), iy.f); in Evaluate()
[all …]
/dports/graphics/blender/blender-2.91.0/extern/bullet2/src/BulletSoftBody/
H A DbtSparseSDF.h271 normal.setX(Lerp(Lerp(gx[0], gx[1], iy.f), in Evaluate()
272 Lerp(gx[2], gx[3], iy.f), iz.f)); in Evaluate()
273 normal.setY(Lerp(Lerp(gy[0], gy[1], ix.f), in Evaluate()
274 Lerp(gy[2], gy[3], ix.f), iz.f)); in Evaluate()
275 normal.setZ(Lerp(Lerp(gz[0], gz[1], ix.f), in Evaluate()
276 Lerp(gz[2], gz[3], ix.f), iy.f)); in Evaluate()
282 const btScalar d0 = Lerp(Lerp(d[0], d[1], ix.f), in Evaluate()
283 Lerp(d[3], d[2], ix.f), iy.f); in Evaluate()
284 const btScalar d1 = Lerp(Lerp(d[4], d[5], ix.f), in Evaluate()
285 Lerp(d[7], d[6], ix.f), iy.f); in Evaluate()
[all …]
/dports/games/critterding/critterding-beta12/src/utils/bullet/BulletSoftBody/
H A DbtSparseSDF.h210 normal.setX(Lerp( Lerp(gx[0],gx[1],iy.f), in Evaluate()
211 Lerp(gx[2],gx[3],iy.f),iz.f)); in Evaluate()
212 normal.setY(Lerp( Lerp(gy[0],gy[1],ix.f), in Evaluate()
213 Lerp(gy[2],gy[3],ix.f),iz.f)); in Evaluate()
214 normal.setZ(Lerp( Lerp(gz[0],gz[1],ix.f), in Evaluate()
215 Lerp(gz[2],gz[3],ix.f),iy.f)); in Evaluate()
221 const btScalar d0=Lerp(Lerp(d[0],d[1],ix.f), in Evaluate()
222 Lerp(d[3],d[2],ix.f),iy.f); in Evaluate()
223 const btScalar d1=Lerp(Lerp(d[4],d[5],ix.f), in Evaluate()
224 Lerp(d[7],d[6],ix.f),iy.f); in Evaluate()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/BulletSoftBody/
H A DbtSparseSDF.h271 normal.setX(Lerp(Lerp(gx[0], gx[1], iy.f), in Evaluate()
272 Lerp(gx[2], gx[3], iy.f), iz.f)); in Evaluate()
273 normal.setY(Lerp(Lerp(gy[0], gy[1], ix.f), in Evaluate()
274 Lerp(gy[2], gy[3], ix.f), iz.f)); in Evaluate()
275 normal.setZ(Lerp(Lerp(gz[0], gz[1], ix.f), in Evaluate()
276 Lerp(gz[2], gz[3], ix.f), iy.f)); in Evaluate()
282 const btScalar d0 = Lerp(Lerp(d[0], d[1], ix.f), in Evaluate()
283 Lerp(d[3], d[2], ix.f), iy.f); in Evaluate()
284 const btScalar d1 = Lerp(Lerp(d[4], d[5], ix.f), in Evaluate()
285 Lerp(d[7], d[6], ix.f), iy.f); in Evaluate()
[all …]
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Bullet/src/BulletSoftBody/
H A DbtSparseSDF.h223 normal.setX(Lerp( Lerp(gx[0],gx[1],iy.f), in Evaluate()
224 Lerp(gx[2],gx[3],iy.f),iz.f)); in Evaluate()
225 normal.setY(Lerp( Lerp(gy[0],gy[1],ix.f), in Evaluate()
226 Lerp(gy[2],gy[3],ix.f),iz.f)); in Evaluate()
227 normal.setZ(Lerp( Lerp(gz[0],gz[1],ix.f), in Evaluate()
228 Lerp(gz[2],gz[3],ix.f),iy.f)); in Evaluate()
234 const btScalar d0=Lerp(Lerp(d[0],d[1],ix.f), in Evaluate()
235 Lerp(d[3],d[2],ix.f),iy.f); in Evaluate()
236 const btScalar d1=Lerp(Lerp(d[4],d[5],ix.f), in Evaluate()
237 Lerp(d[7],d[6],ix.f),iy.f); in Evaluate()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/src/BulletSoftBody/
H A DbtSparseSDF.h271 normal.setX(Lerp(Lerp(gx[0], gx[1], iy.f), in Evaluate()
272 Lerp(gx[2], gx[3], iy.f), iz.f)); in Evaluate()
273 normal.setY(Lerp(Lerp(gy[0], gy[1], ix.f), in Evaluate()
274 Lerp(gy[2], gy[3], ix.f), iz.f)); in Evaluate()
275 normal.setZ(Lerp(Lerp(gz[0], gz[1], ix.f), in Evaluate()
276 Lerp(gz[2], gz[3], ix.f), iy.f)); in Evaluate()
282 const btScalar d0 = Lerp(Lerp(d[0], d[1], ix.f), in Evaluate()
283 Lerp(d[3], d[2], ix.f), iy.f); in Evaluate()
284 const btScalar d1 = Lerp(Lerp(d[4], d[5], ix.f), in Evaluate()
285 Lerp(d[7], d[6], ix.f), iy.f); in Evaluate()
[all …]
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/extern/bullet/BulletSoftBody/
H A DbtSparseSDF.h223 normal.setX(Lerp( Lerp(gx[0],gx[1],iy.f), in Evaluate()
224 Lerp(gx[2],gx[3],iy.f),iz.f)); in Evaluate()
225 normal.setY(Lerp( Lerp(gy[0],gy[1],ix.f), in Evaluate()
226 Lerp(gy[2],gy[3],ix.f),iz.f)); in Evaluate()
227 normal.setZ(Lerp( Lerp(gz[0],gz[1],ix.f), in Evaluate()
228 Lerp(gz[2],gz[3],ix.f),iy.f)); in Evaluate()
234 const btScalar d0=Lerp(Lerp(d[0],d[1],ix.f), in Evaluate()
235 Lerp(d[3],d[2],ix.f),iy.f); in Evaluate()
236 const btScalar d1=Lerp(Lerp(d[4],d[5],ix.f), in Evaluate()
237 Lerp(d[7],d[6],ix.f),iy.f); in Evaluate()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/src/BulletSoftBody/
H A DbtSparseSDF.h210 normal.setX(Lerp( Lerp(gx[0],gx[1],iy.f), in Evaluate()
211 Lerp(gx[2],gx[3],iy.f),iz.f)); in Evaluate()
212 normal.setY(Lerp( Lerp(gy[0],gy[1],ix.f), in Evaluate()
213 Lerp(gy[2],gy[3],ix.f),iz.f)); in Evaluate()
214 normal.setZ(Lerp( Lerp(gz[0],gz[1],ix.f), in Evaluate()
215 Lerp(gz[2],gz[3],ix.f),iy.f)); in Evaluate()
221 const btScalar d0=Lerp(Lerp(d[0],d[1],ix.f), in Evaluate()
222 Lerp(d[3],d[2],ix.f),iy.f); in Evaluate()
223 const btScalar d1=Lerp(Lerp(d[4],d[5],ix.f), in Evaluate()
224 Lerp(d[7],d[6],ix.f),iy.f); in Evaluate()
[all …]
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/BulletSoftBody/
H A DbtSparseSDF.h271 normal.setX(Lerp(Lerp(gx[0], gx[1], iy.f), in Evaluate()
272 Lerp(gx[2], gx[3], iy.f), iz.f)); in Evaluate()
273 normal.setY(Lerp(Lerp(gy[0], gy[1], ix.f), in Evaluate()
274 Lerp(gy[2], gy[3], ix.f), iz.f)); in Evaluate()
275 normal.setZ(Lerp(Lerp(gz[0], gz[1], ix.f), in Evaluate()
276 Lerp(gz[2], gz[3], ix.f), iy.f)); in Evaluate()
282 const btScalar d0 = Lerp(Lerp(d[0], d[1], ix.f), in Evaluate()
283 Lerp(d[3], d[2], ix.f), iy.f); in Evaluate()
284 const btScalar d1 = Lerp(Lerp(d[4], d[5], ix.f), in Evaluate()
285 Lerp(d[7], d[6], ix.f), iy.f); in Evaluate()
[all …]
/dports/math/ceres-solver/ceres-solver-2.0.0/internal/ceres/autodiff_benchmarks/
H A Dbrdf_cost_function.h96 Lerp(specular * T(0.08) * in operator()
97 Lerp(Vec3(T(1), T(1), T(1)), c_tint, specular_tint), in operator()
100 const Vec3 c_sheen = Lerp(Vec3(T(1), T(1), T(1)), c_tint, sheen_tint); in operator()
107 const T fd = Lerp(T(1), fd_90, fl) * Lerp(T(1), fd_90, fv); in operator()
113 const T fss = Lerp(T(1), fss_90, fl) * Lerp(T(1), fss_90, fv); in operator()
126 const Vec3 fs = Lerp(c_spec0, Vec3(T(1), T(1), T(1)), fh); in operator()
136 const T a = Lerp(T(0.1), T(0.001), clearcoat_gloss); in operator()
138 const T fr = Lerp(T(0.04), T(1), fh); in operator()
144 (T(1.0 / M_PI) * Lerp(fd, ss, subsurface) * c + f_sheen) * in operator()
203 inline T Lerp(const T& a, const T& b, const T& u) const { in Lerp() function
[all …]
/dports/devel/ispc/ispc-1.16.1/examples/cpu/noise/
H A Dnoise_serial.cpp86 inline float Lerp(float t, float low, float high) { return (1.f - t) * low + t * high; } in Lerp() function
108 float x00 = Lerp(wx, w000, w100); in Noise()
109 float x10 = Lerp(wx, w010, w110); in Noise()
110 float x01 = Lerp(wx, w001, w101); in Noise()
111 float x11 = Lerp(wx, w011, w111); in Noise()
112 float y0 = Lerp(wy, x00, x10); in Noise()
113 float y1 = Lerp(wy, x01, x11); in Noise()
114 return Lerp(wz, y0, y1); in Noise()
/dports/devel/ispc/ispc-1.16.1/examples/xpu/noise/
H A Dnoise_serial.cpp86 inline float Lerp(float t, float low, float high) { return (1.f - t) * low + t * high; } in Lerp() function
108 float x00 = Lerp(wx, w000, w100); in Noise()
109 float x10 = Lerp(wx, w010, w110); in Noise()
110 float x01 = Lerp(wx, w001, w101); in Noise()
111 float x11 = Lerp(wx, w011, w111); in Noise()
112 float y0 = Lerp(wy, x00, x10); in Noise()
113 float y1 = Lerp(wy, x01, x11); in Noise()
114 return Lerp(wz, y0, y1); in Noise()
H A Dnoise.ispc83 inline float Lerp(float t, float low, float high) { return (1. - t) * low + t * high; }
105 float x00 = Lerp(wx, w000, w100);
106 float x10 = Lerp(wx, w010, w110);
107 float x01 = Lerp(wx, w001, w101);
108 float x11 = Lerp(wx, w011, w111);
109 float y0 = Lerp(wy, x00, x10);
110 float y1 = Lerp(wy, x01, x11);
111 return Lerp(wz, y0, y1);
/dports/graphics/pinta/pinta-1.7.1/Pinta.Gui.Widgets/Widgets/
H A DHistogramWidget.cs117 points[entries] = new PointD (Utility.Lerp (l, r, -1), Utility.Lerp (t, b, 20)); in DrawChannel()
118 points[entries + 1] = new PointD (Utility.Lerp (l, r, -1), Utility.Lerp (b, t, 20)); in DrawChannel()
122 Utility.Lerp (l, r, (float)hist[i] / (float)max), in DrawChannel()
123 Utility.Lerp (t, b, (float)i / (float)entries)); in DrawChannel()
134 Utility.Lerp(l, r, (float)(sum3) / (float)(max * 3.1f)), in DrawChannel()
135 Utility.Lerp(t, b, (float)i / (float)entries)); in DrawChannel()
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/exec/
H A DCellInterpolate.h330 T bottomInterp = vtkm::Lerp(field[0], field[1], pcoords[0]); in CellInterpolate()
331 T topInterp = vtkm::Lerp(field[3], field[2], pcoords[0]); in CellInterpolate()
333 return vtkm::Lerp(bottomInterp, topInterp, pcoords[1]); in CellInterpolate()
382 T topFrontInterp = vtkm::Lerp(field[4], field[5], pcoords[0]); in CellInterpolate()
383 T topBackInterp = vtkm::Lerp(field[7], field[6], pcoords[0]); in CellInterpolate()
388 return vtkm::Lerp(bottomInterp, topInterp, pcoords[2]); in CellInterpolate()
423 return vtkm::Lerp(bottomInterp, topInterp, pcoords[2]); in CellInterpolate()
438 T frontInterp = vtkm::Lerp(field[0], field[1], pcoords[0]); in CellInterpolate()
439 T backInterp = vtkm::Lerp(field[3], field[2], pcoords[0]); in CellInterpolate()
441 T baseInterp = vtkm::Lerp(frontInterp, backInterp, pcoords[1]); in CellInterpolate()
[all …]
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/GPU/Software/
H A DTransformUnit.h87 void Lerp(float t, const VertexData& a, const VertexData& b)
91 modelpos = ::Lerp(a.modelpos, b.modelpos, t);
92 clippos = ::Lerp(a.clippos, b.clippos, t);
93 screenpos = ::Lerp(a.screenpos, b.screenpos, t); // TODO: Should use a LerpInt (?)
94 texturecoords = ::Lerp(a.texturecoords, b.texturecoords, t);
95 normal = ::Lerp(a.normal, b.normal, t);
96 fogdepth = ::Lerp(a.fogdepth, b.fogdepth, t);
/dports/emulators/ppsspp/ppsspp-1.12.3/GPU/Software/
H A DTransformUnit.h87 void Lerp(float t, const VertexData& a, const VertexData& b) in Lerp() function
91 modelpos = ::Lerp(a.modelpos, b.modelpos, t); in Lerp()
92 clippos = ::Lerp(a.clippos, b.clippos, t); in Lerp()
93 screenpos = ::Lerp(a.screenpos, b.screenpos, t); // TODO: Should use a LerpInt (?) in Lerp()
94 texturecoords = ::Lerp(a.texturecoords, b.texturecoords, t); in Lerp()
95 normal = ::Lerp(a.normal, b.normal, t); in Lerp()
96 fogdepth = ::Lerp(a.fogdepth, b.fogdepth, t); in Lerp()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/GPU/Software/
H A DTransformUnit.h87 void Lerp(float t, const VertexData& a, const VertexData& b) in Lerp() function
91 modelpos = ::Lerp(a.modelpos, b.modelpos, t); in Lerp()
92 clippos = ::Lerp(a.clippos, b.clippos, t); in Lerp()
93 screenpos = ::Lerp(a.screenpos, b.screenpos, t); // TODO: Should use a LerpInt (?) in Lerp()
94 texturecoords = ::Lerp(a.texturecoords, b.texturecoords, t); in Lerp()
95 normal = ::Lerp(a.normal, b.normal, t); in Lerp()
96 fogdepth = ::Lerp(a.fogdepth, b.fogdepth, t); in Lerp()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Game/Primitives/
H A Dfloat2.cs36 public static float Lerp(float a, float b, float t) { return a + t * (b - a); } in Lerp() method
38 public static float2 Lerp(float2 a, float2 b, float t) in Lerp() method
41 Lerp(a.X, b.X, t), in Lerp()
42 Lerp(a.Y, b.Y, t)); in Lerp()
45 public static float2 Lerp(float2 a, float2 b, float2 t) in Lerp() method
48 Lerp(a.X, b.X, t.X), in Lerp()
49 Lerp(a.Y, b.Y, t.Y)); in Lerp()
109 value = float2.Lerp(value ?? newValue, newValue, animRate); in Update()
/dports/games/allacrost/allacrost-1.0.2/src/engine/video/
H A Dfade.cpp118 current_color[0] = Lerp(percent_complete, initial_color[0], final_color[0]); in Update()
119 current_color[1] = Lerp(percent_complete, initial_color[1], final_color[1]); in Update()
120 current_color[2] = Lerp(percent_complete, initial_color[2], final_color[2]); in Update()
122 current_color[3] = Lerp(percent_complete, initial_color[3], final_color[3]); in Update()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/engine/video/
H A Dfade.cpp104 _current_color[0] = Lerp(percent_complete, _initial_color[0], _final_color[0]); in Update()
105 _current_color[1] = Lerp(percent_complete, _initial_color[1], _final_color[1]); in Update()
106 _current_color[2] = Lerp(percent_complete, _initial_color[2], _final_color[2]); in Update()
108 _current_color[3] = Lerp(percent_complete, _initial_color[3], _final_color[3]); in Update()
/dports/graphics/pinta/pinta-1.7.1/Pinta.Core/Effects/
H A DColorBgra.cs338 public static ColorBgra Lerp(ColorBgra from, ColorBgra to, float frac) in Lerp() method
342 ret.B = (byte)ClampToByte(Lerp(from.B, to.B, frac)); in Lerp()
343 ret.G = (byte)ClampToByte(Lerp(from.G, to.G, frac)); in Lerp()
344 ret.R = (byte)ClampToByte(Lerp(from.R, to.R, frac)); in Lerp()
345 ret.A = (byte)ClampToByte(Lerp(from.A, to.A, frac)); in Lerp()
349 public static float Lerp(float from, float to, float frac) in Lerp() method
354 public static double Lerp(double from, double to, double frac) in Lerp() method
372 ret.B = (byte)ClampToByte(Lerp(from.B, to.B, frac)); in Lerp()
373 ret.G = (byte)ClampToByte(Lerp(from.G, to.G, frac)); in Lerp()
374 ret.R = (byte)ClampToByte(Lerp(from.R, to.R, frac)); in Lerp()
[all …]
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/
H A Dperlin_noise_octaves.cpp131 return Lerp(w, in noise3D()
132 Lerp(v, Lerp(u, Grad(p[AA], x, y, z), Grad(p[BA], x - 1, y, z)), in noise3D()
133 Lerp(u, Grad(p[AB], x, y - 1, z), Grad(p[BB], x - 1, y - 1, z))), in noise3D()
134 Lerp(v, Lerp(u, Grad(p[AA + 1], x, y, z - 1), Grad(p[BA + 1], x - 1, y, z - 1)), in noise3D()
135 Lerp(u, Grad(p[AB + 1], x, y - 1, z - 1), Grad(p[BB + 1], x - 1, y - 1, z - 1)))); in noise3D()
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/material/
H A Dnoise.cpp345 Lerp(DBL t, DBL a, DBL b) in Lerp() function
354 v[X] = Lerp(t, a[X], b[X]); in VLerp()
355 v[Y] = Lerp(t, a[Y], b[Y]); in VLerp()
356 v[Z] = Lerp(t, a[Z], b[Z]); in VLerp()
404 a = Lerp(sx, u, v); in SolidNoise()
408 b = Lerp(sx, u, v); in SolidNoise()
410 c = Lerp(sy, a, b); in SolidNoise()
414 a = Lerp(sx, u, v); in SolidNoise()
418 b = Lerp(sx, u, v); in SolidNoise()
420 d = Lerp(sy, a, b); in SolidNoise()
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/interpolation-0.2.0/src/
H A Dlib.rs15 pub use lerp::{lerp, Lerp};
26 pub fn quad_bez<T: Lerp>( in quad_bez()
43 pub fn cub_bez<T: Lerp>( in cub_bez()

12345678910>>...18