Home
last modified time | relevance | path

Searched refs:lerpfrac (Results 1 – 25 of 68) sorted by relevance

123

/dports/games/xonotic/Xonotic/source/qcsrc/client/
H A Dplayer_skeleton.qc127 float savelerpfrac = e.lerpfrac;
135 e.lerpfrac = 0;
154 e.lerpfrac = 0;
161 e.lerpfrac = savelerpfrac * 2;
166 …//printf("frame %d %d %d %d lerpfrac * %d %d %d\n", e.frame, e.frame2, e.frame3, e.frame4, e.lerpf…
169 e.lerpfrac = savelerpfrac;
H A Dcsqcmodel_hooks.qc621 this.lerpfrac = 0;
659 // Note: we always consider lerpfrac "changed", as it uses fixed values every time anyway.
662 this.lerpfrac = (doblend ? 0.5 : 0);
677 this.lerpfrac = 0;
/dports/games/xonotic/Xonotic/source/qcsrc/lib/csqcmodel/
H A Dcl_model.qc56 this.lerpfrac = this.csqcmodel_lerpfrac;
90 this.csqcmodel_lerpfrac = this.lerpfrac;
116 this.lerpfrac = this.csqcmodel_lerpfrac;
135 ….csqcmodel_lerpfrac2time == 0) // if there is no old lerpfrac (newly displayed model), only lerpfr…
142 this.lerpfrac = l24 * l24_13;
163 this.lerpfrac = 0;
168 this.lerpfrac = 0;
170 …this.lerpfrac = 1 - bound(0, (time - this.frame1time) / autocvar_cl_lerpanim_maxdelta_framegroups,…
H A Dcl_model.qh44 // then update frame, frame1time (and possibly frame2, frame2time, lerpfrac)
51 // will overwrite lerpfrac, lerpfrac3, lerpfrac4, and possibly clear frame*time if they are undispl…
H A Dsettings.qh2 // define this if svqc code wants to use .frame2 and .lerpfrac
H A Dcommon.qh54 .float lerpfrac;
92 …CSQCMODEL_PROPERTY_SCALED(CSQCMODEL_PROPERTY_LERPFRAC, float, ReadByte, WriteByte, lerpfrac, 255, …
/dports/games/xonotic/Xonotic/source/qcsrc/common/
H A Danim.qh5 /** primary framegroup animation (strength = 1 - lerpfrac - lerpfrac3 - lerpfrac4) */
7 /** secondary framegroup animation (strength = lerpfrac) */
15 .float lerpfrac;
H A Dcsqcmodel_settings.qh3 // define this if svqc code wants to use .frame2 and .lerpfrac
/dports/games/q2pro/q2pro/source/
H A Dcl_ents.c227 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
237 ent.oldorigin[i] = cent->prev.old_origin[i] + cl.lerpfrac * in CL_AddPacketEntities()
239 ent.origin[i] = cent->prev.origin[i] + cl.lerpfrac * in CL_AddPacketEntities()
347 ent.angles[i] = LerpAngle (a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
703 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
705 ps->gunangles[i], cl.lerpfrac ); in CL_AddViewWeapon()
724 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
811 lerp = cl.lerpfrac; in CL_CalcCurrentState()
949 ops->kick_angles[0], ps->kick_angles[0], cl.lerpfrac ); in CL_CalcViewValues()
951 ops->kick_angles[1], ps->kick_angles[1], cl.lerpfrac ); in CL_CalcViewValues()
[all …]
/dports/games/r1q2/r1q2-8012_5/client/
H A Dcl_ents.c1675 entity_lerp = cl.lerpfrac; in CL_AddPacketEntities()
1750 frame_lerp = 1.0f - cl.lerpfrac; in CL_AddPacketEntities()
1760 ent.backlerp = 1.0f - cl.lerpfrac; in CL_AddPacketEntities()
2348 gunlerp = 1.0f - cl.lerpfrac; in CL_AddViewWeapon()
2358 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
2407 lerp = cl.lerpfrac; in CL_CalcViewValues()
2515 kicklerp = 1.0f - cl.lerpfrac; in CL_CalcViewValues()
2563 cl.lerpfrac = 1.0f; in CL_AddEntities()
2572 cl.lerpfrac = 0; in CL_AddEntities()
2585 cl.playerlerp = cl.lerpfrac; in CL_AddEntities()
[all …]
H A Dle_physics.c55 VectorScale (vel, cl.lerpfrac, vel); in LE_Physics_Toss()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/
H A Davf_showspectrum.c432 float lerpfrac = (a - start) / (end - start); in plot_spectrum_column() local
433 y = intensity_color_table[i - 1].y * (1.0f - lerpfrac) in plot_spectrum_column()
434 + intensity_color_table[i].y * lerpfrac; in plot_spectrum_column()
435 u = intensity_color_table[i - 1].u * (1.0f - lerpfrac) in plot_spectrum_column()
436 + intensity_color_table[i].u * lerpfrac; in plot_spectrum_column()
437 v = intensity_color_table[i - 1].v * (1.0f - lerpfrac) in plot_spectrum_column()
438 + intensity_color_table[i].v * lerpfrac; in plot_spectrum_column()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/
H A Davf_showspectrum.c432 float lerpfrac = (a - start) / (end - start); in plot_spectrum_column() local
433 y = intensity_color_table[i - 1].y * (1.0f - lerpfrac) in plot_spectrum_column()
434 + intensity_color_table[i].y * lerpfrac; in plot_spectrum_column()
435 u = intensity_color_table[i - 1].u * (1.0f - lerpfrac) in plot_spectrum_column()
436 + intensity_color_table[i].u * lerpfrac; in plot_spectrum_column()
437 v = intensity_color_table[i - 1].v * (1.0f - lerpfrac) in plot_spectrum_column()
438 + intensity_color_table[i].v * lerpfrac; in plot_spectrum_column()
/dports/games/quetoo/quetoo-0.6.1/src/
H A Dcl_ents.c727 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
732 ent.oldorigin[i] = cent->prev.old_origin[i] + cl.lerpfrac * in CL_AddPacketEntities()
734 ent.origin[i] = cent->prev.origin[i] + cl.lerpfrac * in CL_AddPacketEntities()
744 ent.origin[i] = ent.oldorigin[i] = cent->prev.origin[i] + cl.lerpfrac * in CL_AddPacketEntities()
796 ent.angles[i] = LerpAngle(a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
920 lerp = cl.lerpfrac; in CL_CalcViewValues()
929 + cl.lerpfrac * (ps->viewoffset[i] - ops->viewoffset[i]) in CL_CalcViewValues()
983 cl.lerpfrac = 1.0; in CL_AddEntities()
988 cl.lerpfrac = 0; in CL_AddEntities()
990 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.time) * 0.01; in CL_AddEntities()
[all …]
/dports/games/quake2-source/quake2-r0.16.2/src/client/
H A Dcl_ents.c923 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
1035 ent.angles[i] = LerpAngle (a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
1376 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
1378 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
1396 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
1432 lerp = cl.lerpfrac; in CL_CalcViewValues()
1443 + cl.lerpfrac * (ps->viewoffset[i] - ops->viewoffset[i]) in CL_CalcViewValues()
1505 cl.lerpfrac = 1.0; in CL_AddEntities()
1512 cl.lerpfrac = 0; in CL_AddEntities()
1515 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.time) * 0.01; in CL_AddEntities()
[all …]
/dports/games/quake2lnx/quake2-r0.16.2/src/client/
H A Dcl_ents.c923 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
1035 ent.angles[i] = LerpAngle (a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
1376 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
1378 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
1396 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
1432 lerp = cl.lerpfrac; in CL_CalcViewValues()
1443 + cl.lerpfrac * (ps->viewoffset[i] - ops->viewoffset[i]) in CL_CalcViewValues()
1505 cl.lerpfrac = 1.0; in CL_AddEntities()
1512 cl.lerpfrac = 0; in CL_AddEntities()
1515 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.time) * 0.01; in CL_AddEntities()
[all …]
/dports/games/quake2max/Quake2maX_0.45-src_unix/client/
H A Dcl_ents.c1003 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
1334 ent.angles[i] = LerpAngle (a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
1756 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
1758 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
1777 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
1963 lerp = cl.lerpfrac; in CL_CalcViewValues()
1974 + cl.lerpfrac * (ps->viewoffset[i] - ops->viewoffset[i]) in CL_CalcViewValues()
2043 cl.lerpfrac = 1.0; in CL_AddEntities()
2050 cl.lerpfrac = 0; in CL_AddEntities()
2053 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.time) * 0.01; in CL_AddEntities()
[all …]
/dports/games/qudos/QuDos-0.40.1-src/src/client/
H A Dcl_ents.c729 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
938 ent.angles[i] = LerpAngle(a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
1372 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
1374 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
1395 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
1587 lerp = cl.lerpfrac; in CL_CalcViewValues()
1596 + cl.lerpfrac * (ps->viewoffset[i] - ops->viewoffset[i]) in CL_CalcViewValues()
1665 cl.lerpfrac = 1.0; in CL_AddEntities()
1670 cl.lerpfrac = 0; in CL_AddEntities()
1672 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.time) * 0.01; in CL_AddEntities()
[all …]
/dports/games/alienarena/alienarena-7.66/source/client/
H A Dcl_ents.c700 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
791 ent.angles[i] = LerpAngle (a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
1223 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
1225 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
1238 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
1367 lerp = cl.lerpfrac; in CL_CalcViewValues()
1378 + cl.lerpfrac * (ps->viewoffset[i] - ops->viewoffset[i]) in CL_CalcViewValues()
1440 cl.lerpfrac = 1.0; in CL_AddEntities()
1447 cl.lerpfrac = 0; in CL_AddEntities()
1450 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.time) * 0.01; in CL_AddEntities()
[all …]
/dports/games/alienarena-data/alienarena-7.66/source/client/
H A Dcl_ents.c700 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
791 ent.angles[i] = LerpAngle (a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
1223 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
1225 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
1238 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
1367 lerp = cl.lerpfrac; in CL_CalcViewValues()
1378 + cl.lerpfrac * (ps->viewoffset[i] - ops->viewoffset[i]) in CL_CalcViewValues()
1440 cl.lerpfrac = 1.0; in CL_AddEntities()
1447 cl.lerpfrac = 0; in CL_AddEntities()
1450 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.time) * 0.01; in CL_AddEntities()
[all …]
/dports/games/q2p/Q2P-0.2-2006-12-31/client/
H A Dcl_ents.c809 ent.backlerp = 1.0 - cl.lerpfrac; in CL_AddPacketEntities()
818 ent.origin[i] = ent.oldorigin[i] = cent->prev.origin[i] + cl.lerpfrac * in CL_AddPacketEntities()
1011 ent.angles[i] = LerpAngle (a2, a1, cl.lerpfrac); in CL_AddPacketEntities()
1362 + cl.lerpfrac * (ps->gunoffset[i] - ops->gunoffset[i]); in CL_AddViewWeapon()
1364 ps->gunangles[i], cl.lerpfrac); in CL_AddViewWeapon()
1376 gun.backlerp = 1.0 - cl.lerpfrac; in CL_AddViewWeapon()
1547 lerp = cl.lerpfrac; in CL_CalcViewValues()
1623 cl.lerpfrac = 1.0; in CL_AddEntities()
1630 cl.lerpfrac = 0; in CL_AddEntities()
1633 cl.lerpfrac = 1.0 - (cl.frame.servertime - cl.stime) * 0.01; in CL_AddEntities()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/
H A Davf_showspectrum.c598 float lerpfrac = (a - start) / (end - start); in pick_color() local
599 y = color_table[cm][i - 1].y * (1.0f - lerpfrac) in pick_color()
600 + color_table[cm][i].y * lerpfrac; in pick_color()
601 u = color_table[cm][i - 1].u * (1.0f - lerpfrac) in pick_color()
602 + color_table[cm][i].u * lerpfrac; in pick_color()
603 v = color_table[cm][i - 1].v * (1.0f - lerpfrac) in pick_color()
604 + color_table[cm][i].v * lerpfrac; in pick_color()
974 float lerpfrac = (j - pos0) / delta; in plot_channel_log() local
976 pick_color(s, yf, uf, vf, lerpfrac * a1 + (1.f-lerpfrac) * a0, out); in plot_channel_log()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/
H A Davf_showspectrum.c598 float lerpfrac = (a - start) / (end - start); in pick_color() local
599 y = color_table[cm][i - 1].y * (1.0f - lerpfrac) in pick_color()
600 + color_table[cm][i].y * lerpfrac; in pick_color()
601 u = color_table[cm][i - 1].u * (1.0f - lerpfrac) in pick_color()
602 + color_table[cm][i].u * lerpfrac; in pick_color()
603 v = color_table[cm][i - 1].v * (1.0f - lerpfrac) in pick_color()
604 + color_table[cm][i].v * lerpfrac; in pick_color()
974 float lerpfrac = (j - pos0) / delta; in plot_channel_log() local
976 pick_color(s, yf, uf, vf, lerpfrac * a1 + (1.f-lerpfrac) * a0, out); in plot_channel_log()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/
H A Davf_showspectrum.c598 float lerpfrac = (a - start) / (end - start); in pick_color() local
599 y = color_table[cm][i - 1].y * (1.0f - lerpfrac) in pick_color()
600 + color_table[cm][i].y * lerpfrac; in pick_color()
601 u = color_table[cm][i - 1].u * (1.0f - lerpfrac) in pick_color()
602 + color_table[cm][i].u * lerpfrac; in pick_color()
603 v = color_table[cm][i - 1].v * (1.0f - lerpfrac) in pick_color()
604 + color_table[cm][i].v * lerpfrac; in pick_color()
974 float lerpfrac = (j - pos0) / delta; in plot_channel_log() local
976 pick_color(s, yf, uf, vf, lerpfrac * a1 + (1.f-lerpfrac) * a0, out); in plot_channel_log()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/
H A Davf_showspectrum.c598 float lerpfrac = (a - start) / (end - start); in pick_color() local
599 y = color_table[cm][i - 1].y * (1.0f - lerpfrac) in pick_color()
600 + color_table[cm][i].y * lerpfrac; in pick_color()
601 u = color_table[cm][i - 1].u * (1.0f - lerpfrac) in pick_color()
602 + color_table[cm][i].u * lerpfrac; in pick_color()
603 v = color_table[cm][i - 1].v * (1.0f - lerpfrac) in pick_color()
604 + color_table[cm][i].v * lerpfrac; in pick_color()
974 float lerpfrac = (j - pos0) / delta; in plot_channel_log() local
976 pick_color(s, yf, uf, vf, lerpfrac * a1 + (1.f-lerpfrac) * a0, out); in plot_channel_log()

123