Home
last modified time | relevance | path

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

/dports/games/stuntrally/stuntrally-2.6.1/source/vdrift/
H A Dlinearframe.h24 Dbl inverse_mass; variable
38 return moment*inverse_mass; in GetVelocityFromMomentum()
42 LINEARFRAME() : inverse_mass(1.0), have_old_force(false), integration_step(0) in LINEARFRAME()
47 inverse_mass = 1.0 / mass; in SetMass()
52 return 1.0 / inverse_mass; in GetMass()
62 momentum = velocity / inverse_mass; in SetVelocity()
74 position = position + momentum*inverse_mass*dt + old_force*inverse_mass*dt*dt*0.5; in Integrate1()
93 position = position + momentum*inverse_mass*dt; in Integrate2()
97 position = position + momentum*inverse_mass*dt; in Integrate2()
102 position = position + momentum*inverse_mass*dt + force*inverse_mass*dt*dt*0.5; in Integrate2()
/dports/games/crack-attack/crack-attack-1.1.14/src/
H A DSparkleManager.cxx243 mote.inverse_mass = mote_inverse_masses[level]; in createRewardMote()
254 + Random::number() * (2.0f * DC_SPREAD_MOTE_VELOCITY)) * mote.inverse_mass; in createRewardMote()
264 * (2.0f * DC_SPREAD_MOTE_ANGULAR_VELOCITY)) * mote.inverse_mass; in createRewardMote()
326 mote.v_y += mote.inverse_mass * DC_MOTE_UPWARD_FORCE in timeStep()
328 mote.v_x -= mote.inverse_mass * DC_MOTE_CENTER_SPRING * mote.x in timeStep()
331 mote.v_a -= mote.inverse_mass in timeStep()
H A DSparkleManager.h56 float inverse_mass; variable
/dports/devel/efl/efl-1.25.1/src/lib/ephysics/
H A Dephysics_body.cpp1004 double inverse_mass = 0.0; in _ephysics_body_soft_body_mass_set() local
1020 inverse_mass = 1 / (mass / valid_nodes); in _ephysics_body_soft_body_mass_set()
1024 inverse_mass = 1 / (mass / valid_nodes); in _ephysics_body_soft_body_mass_set()
1025 body->dragging_data.mass = inverse_mass; in _ephysics_body_soft_body_mass_set()
1033 node.m_im = inverse_mass; in _ephysics_body_soft_body_mass_set()