Searched refs:d_wanted (Results 1 – 4 of 4) sorted by relevance
121 v3f d_wanted = target_speed - m_speed; in accelerateHorizontal() local125 d_wanted = -m_speed*(1-slippery/100)/2; in accelerateHorizontal()129 d_wanted.Y = 0; in accelerateHorizontal()130 f32 dl = d_wanted.getLength(); in accelerateHorizontal()134 v3f d = d_wanted.normalize() * dl; in accelerateHorizontal()166 f32 d_wanted = target_speed.Y - m_speed.Y; in accelerateVertical() local167 if(d_wanted > max_increase) in accelerateVertical()168 d_wanted = max_increase; in accelerateVertical()169 else if(d_wanted < -max_increase) in accelerateVertical()170 d_wanted = -max_increase; in accelerateVertical()[all …]
2438 v3f d_wanted = -speed / lplayer->movement_liquid_fluidity; in step() local2439 f32 dl = d_wanted.getLength(); in step()2446 v3f d = d_wanted.normalize() * dl; in step()
216 v3f d_wanted = -speed / lplayer->movement_liquid_fluidity; in step() local217 f32 dl = d_wanted.getLength(); in step()223 v3f d = d_wanted.normalize() * (dl * dtime_part * 100.0f); in step()
736 v3f d_wanted = target_speed - flat_speed; in accelerate() local741 v3f d_wanted_H = d_wanted * v3f(1.0f, 0.0f, 1.0f); in accelerate()749 f32 d_wanted_V = d_wanted.Y; in accelerate()