Lines Matching refs:wishvel
170 void SV_Accelerate (vec3_t wishvel)
179 VectorSubtract (wishvel, velocity, pushvec);
250 vec3_t wishvel; in SV_WaterMove() local
259 wishvel[i] = forward[i]*cmd.forwardmove + right[i]*cmd.sidemove; in SV_WaterMove()
262 wishvel[2] -= 60; // drift towards bottom in SV_WaterMove()
264 wishvel[2] += cmd.upmove; in SV_WaterMove()
266 wishspeed = Length(wishvel); in SV_WaterMove()
269 VectorScale (wishvel, sv_maxspeed.value/wishspeed, wishvel); in SV_WaterMove()
298 VectorNormalize (wishvel); in SV_WaterMove()
304 velocity[i] += accelspeed * wishvel[i]; in SV_WaterMove()
329 vec3_t wishvel; in SV_AirMove() local
342 wishvel[i] = forward[i]*fmove + right[i]*smove; in SV_AirMove()
345 wishvel[2] = cmd.upmove; in SV_AirMove()
347 wishvel[2] = 0; in SV_AirMove()
349 VectorCopy (wishvel, wishdir); in SV_AirMove()
353 VectorScale (wishvel, sv_maxspeed.value/wishspeed, wishvel); in SV_AirMove()
359 VectorCopy (wishvel, velocity); in SV_AirMove()
368 SV_AirAccelerate (wishvel); in SV_AirMove()