Home
last modified time | relevance | path

Searched refs:d_wanted (Results 1 – 4 of 4) sorted by relevance

/dports/games/freeminer/freeminer-0.4.10.4/src/
H A Dplayer.cpp121 v3f d_wanted = target_speed - m_speed; in accelerateHorizontal() local
125 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() local
167 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 …]
H A Denvironment.cpp2438 v3f d_wanted = -speed / lplayer->movement_liquid_fluidity; in step() local
2439 f32 dl = d_wanted.getLength(); in step()
2446 v3f d = d_wanted.normalize() * dl; in step()
/dports/games/minetest/minetest-5.4.1/src/client/
H A Dclientenvironment.cpp216 v3f d_wanted = -speed / lplayer->movement_liquid_fluidity; in step() local
217 f32 dl = d_wanted.getLength(); in step()
223 v3f d = d_wanted.normalize() * (dl * dtime_part * 100.0f); in step()
H A Dlocalplayer.cpp736 v3f d_wanted = target_speed - flat_speed; in accelerate() local
741 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()