Searched refs:r_friction (Results 1 – 1 of 1) sorted by relevance
297 float r_friction = (float)Timer::frametime * friction; in Update() local298 if (swimming) r_friction /= SWIMMING_FRICTION_REDUCTION; in Update()299 else if (falling) r_friction /= FALLING_FRICTION_REDUCTION; in Update()301 velocity[0] -= temp[0]*r_friction; in Update()302 velocity[1] -= temp[1]*r_friction; in Update()303 velocity[2] -= temp[2]*r_friction; in Update()