Searched refs:nextVel (Results 1 – 1 of 1) sorted by relevance
228 Vec nextVel; in AnimTick() local254 nextVel = curVel; // default in AnimTick()260 nextVel.x = curVel.x; in AnimTick()261 nextVel.z = -curVel.z * WALLZ_BOUNCE; in AnimTick()266 nextVel.x = -curVel.x * WALLX_BOUNCE; in AnimTick()267 nextVel.z = curVel.z; in AnimTick()271 if (curVel.x < 0.0F) nextVel.x = -curVel.x * OUT_CORNER_BOUNCE; in AnimTick()272 if (curVel.z < 0.0F) nextVel.z = -curVel.z * OUT_CORNER_BOUNCE; in AnimTick()276 if (curVel.x > 0.0F) nextVel.x = -curVel.x * OUT_CORNER_BOUNCE; in AnimTick()277 if (curVel.z < 0.0F) nextVel.z = -curVel.z * OUT_CORNER_BOUNCE; in AnimTick()[all …]