Searched refs:wishvel (Results 1 – 2 of 2) sorted by relevance
170 void SV_Accelerate (vec3_t wishvel)179 VectorSubtract (wishvel, velocity, pushvec);250 vec3_t wishvel; in SV_WaterMove() local259 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()[all …]
447 vec3_t wishvel; in PM_WaterMove() local457 wishvel[i] = forward[i]*pmove.cmd.forwardmove + right[i]*pmove.cmd.sidemove; in PM_WaterMove()460 wishvel[2] -= 60; // drift towards bottom in PM_WaterMove()462 wishvel[2] += pmove.cmd.upmove; in PM_WaterMove()464 VectorCopy (wishvel, wishdir); in PM_WaterMove()469 VectorScale (wishvel, movevars.maxspeed/wishspeed, wishvel); in PM_WaterMove()507 vec3_t wishvel; in PM_AirMove() local521 wishvel[i] = forward[i]*fmove + right[i]*smove; in PM_AirMove()522 wishvel[2] = 0; in PM_AirMove()524 VectorCopy (wishvel, wishdir); in PM_AirMove()[all …]