Home
last modified time | relevance | path

Searched refs:LERP (Results 51 – 75 of 168) sorted by path

1234567

/dports/games/iortcw/iortcw-1.51c/SP/code/rend2/
H A Dtr_shader.c1897 shader.fogParms.color[0] = LERP( shader.fogParms.color[0], luminance, r_greyscale->value ); in ParseShader()
1898 shader.fogParms.color[1] = LERP( shader.fogParms.color[1], luminance, r_greyscale->value ); in ParseShader()
1899 shader.fogParms.color[2] = LERP( shader.fogParms.color[2], luminance, r_greyscale->value ); in ParseShader()
/dports/games/iortcw/iortcw-1.51c/SP/code/renderer/
H A Dtr_altivec.c105 floatColor[0] = LERP(dl->color[0] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
106 floatColor[1] = LERP(dl->color[1] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
107 floatColor[2] = LERP(dl->color[2] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
H A Dtr_image.c880 scan[i*4] = LERP(scan[i*4], luma, r_greyscale->value); in Upload32()
881 scan[i*4 + 1] = LERP(scan[i*4 + 1], luma, r_greyscale->value); in Upload32()
882 scan[i*4 + 2] = LERP(scan[i*4 + 2], luma, r_greyscale->value); in Upload32()
H A Dtr_noise.c86 fvalue = LERP( LERP( front[0], front[1], fx ), LERP( front[2], front[3], fx ), fy ); in R_NoiseGet4f()
87 bvalue = LERP( LERP( back[0], back[1], fx ), LERP( back[2], back[3], fx ), fy ); in R_NoiseGet4f()
89 value[i] = LERP( fvalue, bvalue, fz ); in R_NoiseGet4f()
92 finalvalue = LERP( value[0], value[1], ft ); in R_NoiseGet4f()
H A Dtr_shade.c531 floatColor[0] = LERP(dl->color[0] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
532 floatColor[1] = LERP(dl->color[1] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
533 floatColor[2] = LERP(dl->color[2] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
988 tess.svars.colors[i][0] = LERP(tess.svars.colors[i][0], scale, r_greyscale->value); in ComputeColors()
989 tess.svars.colors[i][1] = LERP(tess.svars.colors[i][1], scale, r_greyscale->value); in ComputeColors()
990 tess.svars.colors[i][2] = LERP(tess.svars.colors[i][2], scale, r_greyscale->value); in ComputeColors()
H A Dtr_shader.c1556 shader.fogParms.color[0] = LERP( shader.fogParms.color[0], luminance, r_greyscale->value ); in ParseShader()
1557 shader.fogParms.color[1] = LERP( shader.fogParms.color[1], luminance, r_greyscale->value ); in ParseShader()
1558 shader.fogParms.color[2] = LERP( shader.fogParms.color[2], luminance, r_greyscale->value ); in ParseShader()
/dports/games/iortcw/iortcw-1.51c/SP/code/splines/
H A Dq_splineshared.h1804 #define LERP( a, b, w ) ( ( a ) * ( 1.0f - ( w ) ) + ( b ) * ( w ) ) macro
/dports/games/magiccube4d/magiccube4d-src-2_2/
H A DMagicCube.h106 #define LERP(a,b,t) ((a) + (t)*((b)-(a))) macro
/dports/games/naev/naev-0.7.0/src/
H A Dperlin.c67 #define LERP(a, b, x) ( a + x * (b - a) ) macro
309 value = LERP( in noise_get3()
310 LERP( in noise_get3()
311 LERP(v[0], v[1], w[0]), in noise_get3()
312 LERP(v[2], v[3], w[0]), in noise_get3()
315 LERP( in noise_get3()
316 LERP(v[4], v[5], w[0]), in noise_get3()
317 LERP(v[6], v[7], w[0]), in noise_get3()
359 value = LERP(LERP(v[0], v[1], w[0]), in noise_get2()
360 LERP(v[2], v[3], w[0]), in noise_get2()
[all …]
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/qcommon/
H A Dq_shared.h1305 #define LERP( a, b, w ) ( ( a ) * ( 1.0f - ( w ) ) + ( b ) * ( w ) ) macro
H A Dq_shared.h.r19101307 #define LERP( a, b, w ) ( ( a ) * ( 1.0f - ( w ) ) + ( b ) * ( w ) )
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/renderer/
H A Dtr_image.c580 scan[i*4] = LERP(scan[i*4], luma, r_greyscale->value); in Upload32()
581 scan[i*4 + 1] = LERP(scan[i*4 + 1], luma, r_greyscale->value); in Upload32()
582 scan[i*4 + 2] = LERP(scan[i*4 + 2], luma, r_greyscale->value); in Upload32()
H A Dtr_noise.c82 fvalue = LERP( LERP( front[0], front[1], fx ), LERP( front[2], front[3], fx ), fy ); in R_NoiseGet4f()
83 bvalue = LERP( LERP( back[0], back[1], fx ), LERP( back[2], back[3], fx ), fy ); in R_NoiseGet4f()
85 value[i] = LERP( fvalue, bvalue, fz ); in R_NoiseGet4f()
88 finalvalue = LERP( value[0], value[1], ft ); in R_NoiseGet4f()
H A Dtr_shade.c524 floatColor[0] = LERP(dl->color[0] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
525 floatColor[1] = LERP(dl->color[1] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
526 floatColor[2] = LERP(dl->color[2] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
694 floatColor[0] = LERP(dl->color[0] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
695 floatColor[1] = LERP(dl->color[1] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
696 floatColor[2] = LERP(dl->color[2] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
1077 tess.svars.colors[i][0] = LERP(tess.svars.colors[i][0], scale, r_greyscale->value); in ComputeColors()
1078 tess.svars.colors[i][1] = LERP(tess.svars.colors[i][1], scale, r_greyscale->value); in ComputeColors()
1079 tess.svars.colors[i][2] = LERP(tess.svars.colors[i][2], scale, r_greyscale->value); in ComputeColors()
/dports/games/openarena/openarena-engine-source-0.8.8/code/qcommon/
H A Dq_shared.h1305 #define LERP( a, b, w ) ( ( a ) * ( 1.0f - ( w ) ) + ( b ) * ( w ) ) macro
H A Dq_shared.h.r19101307 #define LERP( a, b, w ) ( ( a ) * ( 1.0f - ( w ) ) + ( b ) * ( w ) )
/dports/games/openarena/openarena-engine-source-0.8.8/code/renderer/
H A Dtr_image.c580 scan[i*4] = LERP(scan[i*4], luma, r_greyscale->value); in Upload32()
581 scan[i*4 + 1] = LERP(scan[i*4 + 1], luma, r_greyscale->value); in Upload32()
582 scan[i*4 + 2] = LERP(scan[i*4 + 2], luma, r_greyscale->value); in Upload32()
H A Dtr_noise.c82 fvalue = LERP( LERP( front[0], front[1], fx ), LERP( front[2], front[3], fx ), fy ); in R_NoiseGet4f()
83 bvalue = LERP( LERP( back[0], back[1], fx ), LERP( back[2], back[3], fx ), fy ); in R_NoiseGet4f()
85 value[i] = LERP( fvalue, bvalue, fz ); in R_NoiseGet4f()
88 finalvalue = LERP( value[0], value[1], ft ); in R_NoiseGet4f()
H A Dtr_shade.c524 floatColor[0] = LERP(dl->color[0] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
525 floatColor[1] = LERP(dl->color[1] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
526 floatColor[2] = LERP(dl->color[2] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_altivec()
694 floatColor[0] = LERP(dl->color[0] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
695 floatColor[1] = LERP(dl->color[1] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
696 floatColor[2] = LERP(dl->color[2] * 255.0f, luminance, r_greyscale->value); in ProjectDlightTexture_scalar()
1077 tess.svars.colors[i][0] = LERP(tess.svars.colors[i][0], scale, r_greyscale->value); in ComputeColors()
1078 tess.svars.colors[i][1] = LERP(tess.svars.colors[i][1], scale, r_greyscale->value); in ComputeColors()
1079 tess.svars.colors[i][2] = LERP(tess.svars.colors[i][2], scale, r_greyscale->value); in ComputeColors()
/dports/games/openjk/OpenJK-07675e2/code/rd-common/
H A Dtr_noise.cpp40 #define LERP( a, b, w ) ( a * ( 1.0f - w ) + b * w ) macro
100 fvalue = LERP( LERP( front[0], front[1], fx ), LERP( front[2], front[3], fx ), fy ); in R_NoiseGet4f()
101 bvalue = LERP( LERP( back[0], back[1], fx ), LERP( back[2], back[3], fx ), fy ); in R_NoiseGet4f()
103 value[i] = LERP( fvalue, bvalue, fz ); in R_NoiseGet4f()
106 finalvalue = LERP( value[0], value[1], ft ); in R_NoiseGet4f()
/dports/games/openjk/OpenJK-07675e2/codemp/rd-common/
H A Dtr_noise.cpp37 #define LERP( a, b, w ) ( a * ( 1.0f - w ) + b * w ) macro
96 fvalue = LERP( LERP( front[0], front[1], fx ), LERP( front[2], front[3], fx ), fy ); in R_NoiseGet4f()
97 bvalue = LERP( LERP( back[0], back[1], fx ), LERP( back[2], back[3], fx ), fy ); in R_NoiseGet4f()
99 value[i] = LERP( fvalue, bvalue, fz ); in R_NoiseGet4f()
102 finalvalue = LERP( value[0], value[1], ft ); in R_NoiseGet4f()
/dports/games/retroarch/RetroArch-1.9.7/input/drivers_joypad/
H A Dpsp_joypad.c44 #define LERP(p, f, t) ((((p * 10) * (t * 10)) / (f * 10)) / 10) macro
310 int x = LERP(touch_surface.report[i].x, in psp_joypad_poll()
312 int y = LERP(touch_surface.report[i].y, in psp_joypad_poll()
390 actuators[pad].small = LERP(strength, 0xffff, 0xff); in psp_joypad_rumble()
400 actuators[pad].large = strength > 1 ? LERP(strength, 0xffff, 0xbf) + 0x40 : 0; in psp_joypad_rumble()
403 actuators[pad].large = LERP(strength, 0xffff, 0xff); in psp_joypad_rumble()
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dintrface.cpp1176 template<class T> inline T LERP(T p1, T p2, int32 steps, int32 stepNum) { in LERP() function
1193 manaInfo.starPos = LERP(basePos, in getManaLineInfo()
1198 manaInfo.ringPos = LERP(basePos, in getManaLineInfo()
/dports/games/sea-defender/Sea-Defender-d628051/snoutlib/
H A Dmisc.h94 #define LERP(t, a, b) ( a + t * (b - a) ) macro
99 return LERP(RAND_0_1,min,max); in rand_range()
105 LERP(t,a[0],b[0]), in lerp()
106 LERP(t,a[1],b[1]) in lerp()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/renderer/
H A Dtr_noise.c35 #define LERP( a, b, w ) ( a * ( 1.0f - w ) + b * w ) macro
87 fvalue = LERP( LERP( front[0], front[1], fx ), LERP( front[2], front[3], fx ), fy ); in R_NoiseGet4f()
88 bvalue = LERP( LERP( back[0], back[1], fx ), LERP( back[2], back[3], fx ), fy ); in R_NoiseGet4f()
90 value[i] = LERP( fvalue, bvalue, fz ); in R_NoiseGet4f()
93 finalvalue = LERP( value[0], value[1], ft ); in R_NoiseGet4f()

1234567