Home | History | Annotate | Download | only in magicsmoke

Lines Matching full:timedelta

100 static float timedelta;
181 rotation[0] += 0.100f * timedelta;
182 rotation[1] += 0.102f * timedelta;
183 rotation[2] += 0.106f * timedelta;
184 rotation[3] += 0.114f * timedelta;
185 rotation[4] += 0.123f * timedelta;
190 xshift[0] += 0.00100f * timedelta;
193 xshift[1] += 0.00106f * timedelta;
196 xshift[2] += 0.00114f * timedelta;
199 xshift[3] += 0.00118f * timedelta;
202 xshift[4] += 0.00127f * timedelta;
371 timedelta = 0;
379 timedelta = ((float)(now - lastuptime)) / 44.f;
381 if (timedelta > 3) {
384 timedelta = 3;