Home
last modified time | relevance | path

Searched refs:SetVelocity (Results 1 – 25 of 214) sorted by relevance

123456789

/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/client/ui/
H A Dfling_animation_unittest.cc81 fling_animation_.SetVelocity(1500.f, 1200.f); in TEST_F()
91 fling_animation_.SetVelocity(1500.f, 1200.f); in TEST_F()
113 fling_animation_.SetVelocity(5.f, 5.f); in TEST_F()
122 fling_animation_.SetVelocity(1500.f, 1200.f); in TEST_F()
135 fling_animation_.SetVelocity(1000.f, -1000.f); in TEST_F()
143 fling_animation_.SetVelocity(-1000.f, 1000.f); in TEST_F()
/dports/games/spring/spring_98.0/rts/Sim/Features/
H A DFeature.cpp181 CWorldObject::SetVelocity(params.speed); in Initialize()
429 void CFeature::SetVelocity(const float3& v) in SetVelocity() function in CFeature
431 CWorldObject::SetVelocity(v); in SetVelocity()
505 CWorldObject::SetVelocity(speed * UpVector); in UpdatePosition()
511 CWorldObject::SetVelocity(speed + (UpVector * mapInfo->map.gravity)); in UpdatePosition()
514 CWorldObject::SetVelocity((speed * XZVector) + (UpVector * mapInfo->map.gravity)); in UpdatePosition()
519 CWorldObject::SetVelocity(speed * XZVector); in UpdatePosition()
533 CWorldObject::SetVelocity(ZeroVector); in UpdatePosition()
545 CWorldObject::SetVelocity(speed + (UpVector * mapInfo->map.gravity)); in UpdatePosition()
547 CWorldObject::SetVelocity((speed * XZVector) + (UpVector * mapInfo->map.gravity)); in UpdatePosition()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/apz/src/
H A DSmoothMsdScrollAnimation.cpp56 mApzc.mX.SetVelocity(0); in DoSample()
58 mApzc.mX.SetVelocity(velocity.x); in DoSample()
61 mApzc.mY.SetVelocity(0); in DoSample()
63 mApzc.mY.SetVelocity(velocity.y); in DoSample()
H A DGenericScrollAnimation.cpp76 mApzc.mX.SetVelocity(0); in DoSample()
77 mApzc.mY.SetVelocity(0); in DoSample()
83 mApzc.mX.SetVelocity(velocityPL.x / 1000.0); in DoSample()
84 mApzc.mY.SetVelocity(velocityPL.y / 1000.0); in DoSample()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/apz/src/
H A DGenericScrollAnimation.cpp73 mApzc.mX.SetVelocity(0); in DoSample()
74 mApzc.mY.SetVelocity(0); in DoSample()
80 mApzc.mX.SetVelocity(velocityPL.x / 1000.0); in DoSample()
81 mApzc.mY.SetVelocity(velocityPL.y / 1000.0); in DoSample()
H A DGenericFlingAnimation.h76 mApzc.mX.SetVelocity(0); in GenericFlingAnimation()
81 mApzc.mY.SetVelocity(0); in GenericFlingAnimation()
106 mApzc.mX.SetVelocity(velocity.x); in GenericFlingAnimation()
114 mApzc.mY.SetVelocity(velocity.y); in GenericFlingAnimation()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/apz/src/
H A DGenericScrollAnimation.cpp72 mApzc.mX.SetVelocity(0); in DoSample()
73 mApzc.mY.SetVelocity(0); in DoSample()
79 mApzc.mX.SetVelocity(velocityPL.x / 1000.0); in DoSample()
80 mApzc.mY.SetVelocity(velocityPL.y / 1000.0); in DoSample()
H A DGenericFlingAnimation.h51 mApzc.mX.SetVelocity(0); in GenericFlingAnimation()
56 mApzc.mY.SetVelocity(0); in GenericFlingAnimation()
80 mApzc.mX.SetVelocity(velocity.x); in GenericFlingAnimation()
87 mApzc.mY.SetVelocity(velocity.y); in GenericFlingAnimation()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/apz/src/
H A DWheelScrollAnimation.cpp59 mApzc.mX.SetVelocity(0); in DoSample()
60 mApzc.mY.SetVelocity(0); in DoSample()
65 mApzc.mX.SetVelocity(xVelocity); in DoSample()
66 mApzc.mY.SetVelocity(yVelocity); in DoSample()
H A DGenericFlingAnimation.h50 mApzc.mX.SetVelocity(0); in GenericFlingAnimation()
54 mApzc.mY.SetVelocity(0); in GenericFlingAnimation()
76 mApzc.mX.SetVelocity(velocity.x); in GenericFlingAnimation()
82 mApzc.mY.SetVelocity(velocity.y); in GenericFlingAnimation()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/apz/src/
H A DSmoothMsdScrollAnimation.cpp56 mApzc.mX.SetVelocity(0); in DoSample()
58 mApzc.mX.SetVelocity(velocity.x); in DoSample()
61 mApzc.mY.SetVelocity(0); in DoSample()
63 mApzc.mY.SetVelocity(velocity.y); in DoSample()
H A DGenericScrollAnimation.cpp76 mApzc.mX.SetVelocity(0); in DoSample()
77 mApzc.mY.SetVelocity(0); in DoSample()
83 mApzc.mX.SetVelocity(velocityPL.x / 1000.0); in DoSample()
84 mApzc.mY.SetVelocity(velocityPL.y / 1000.0); in DoSample()
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/OpenClaw/Engine/Actor/Components/
H A DPhysicsComponent.cpp309 SetVelocity(Point(0, 0)); in VUpdate()
352 SetVelocity(Point(0, 0)); in VUpdate()
393 SetVelocity(Point(0, currSpeed.y)); in VUpdate()
531 SetVelocity(Point(0, 0)); in VUpdate()
614 SetVelocity(Point(velocity.x, -8.8)); in VUpdate()
619 SetVelocity(Point(velocity.x, -2)); in VUpdate()
637 SetVelocity(Point(0, velocity.y)); in VUpdate()
655 SetVelocity(velocity); in VUpdate()
725 SetVelocity(Point(velocity.x, springSpeed)); in VUpdate()
827 SetVelocity(Point(0, 0)); in VUpdate()
[all …]
/dports/games/spring/spring_98.0/rts/Sim/Objects/
H A DWorldObject.h35 SetVelocity(spd); in CWorldObject()
41 virtual void SetVelocity(const float3& v) { speed = v; } in SetVelocity() function
45 SetVelocity(v); in SetVelocityAndSpeed()
/dports/www/firefox/firefox-99.0/gfx/layers/apz/src/
H A DGenericScrollAnimation.cpp80 mApzc.mX.SetVelocity(0); in DoSample()
81 mApzc.mY.SetVelocity(0); in DoSample()
87 mApzc.mX.SetVelocity(velocityPL.x / 1000.0); in DoSample()
88 mApzc.mY.SetVelocity(velocityPL.y / 1000.0); in DoSample()
H A DSmoothMsdScrollAnimation.cpp58 mApzc.mX.SetVelocity(0); in DoSample()
60 mApzc.mX.SetVelocity(velocity.x); in DoSample()
63 mApzc.mY.SetVelocity(0); in DoSample()
65 mApzc.mY.SetVelocity(velocity.y); in DoSample()
/dports/games/duel/duel/src/
H A DShip.cpp46 SetVelocity(0,0,0); in CShip()
131 newPart->SetVelocity(newvel.X(), newvel.Y(), newvel.Z()); in FwdThrust()
192 SetVelocity(0,0,0); in Update()
256 this->SetVelocity(tempVel1.X(), tempVel1.Y(), 0); in Update()
257 gal->ents[gal->ships[sc_i]]->SetVelocity(tempVel2.X(), tempVel2.Y(), 0); in Update()
296 this->SetVelocity(tempVel1.X(), tempVel1.Y(), 0); in Update()
297 gal->ents[gal->inerts[sc_i]]->SetVelocity(tempVel2.X(), tempVel2.Y(), 0); in Update()
403 new_part->SetVelocity((face_v4f.X() * spd) + vel_v4f.X(), in FireGun()
454 newPart->SetVelocity(((float) (rand()%1000)/1000)-0.5, in Die()
484 this->SetVelocity(0,0,0); in Die()
/dports/games/spring/spring_98.0/rts/Sim/Projectiles/Unsynced/
H A DGeoThermSmokeProjectile.cpp35 CWorldObject::SetVelocity(speed + UpVector); in Update()
36 CWorldObject::SetVelocity(speed + XZVector * (wind.GetCurrentWind() / GAME_SPEED)); in Update()
41 CWorldObject::SetVelocity((dir = (speed / curSpeed)) * newSpeed); in Update()
/dports/games/spring/spring_98.0/rts/Sim/Projectiles/
H A DFlareProjectile.cpp61 CWorldObject::SetVelocity(owner->speed); in Update()
62 CWorldObject::SetVelocity(speed + (owner->rightdir * owner->unitDef->flareDropVector.x)); in Update()
63 CWorldObject::SetVelocity(speed + (owner->updir * owner->unitDef->flareDropVector.y)); in Update()
64 CWorldObject::SetVelocity(speed + (owner->frontdir * owner->unitDef->flareDropVector.z)); in Update()
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/mobility/model/
H A Dconstant-velocity-mobility-model.cc45 ConstantVelocityMobilityModel::SetVelocity (const Vector &speed) in SetVelocity() function in ns3::ConstantVelocityMobilityModel
48 m_helper.SetVelocity (speed); in SetVelocity()
/dports/games/stuntrally/stuntrally-2.6.1/source/vdrift/
H A Dlinearframe.cpp18 frame.SetVelocity(initv); in QT_TEST()
46 frame.SetVelocity(initv); in QT_TEST()
/dports/games/shootingstar/shootingstar-1.2.0/src/game/
H A DcGib.cpp52 SetVelocity (GetDirection (0) * 0.5f * rand () / (RAND_MAX + 1.0f)); in cGib()
79 SetVelocity (GetVelocity () * (1.0f - 0.001f * deltaTime)); in Update()
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/
H A DClassicGroundMoveType.cpp442 owner->SetVelocity(spd + impulse); in CanApplyImpulse()
455 owner->SetVelocity(spd + impulse); in CanApplyImpulse()
486 owner->SetVelocity(spd * 0.95f); in UpdateSkid()
516 owner->SetVelocity(ZeroVector); in UpdateSkid()
531 owner->SetVelocity(spd + newForce); in UpdateSkid()
532 owner->SetVelocity(spd * (1.0f - (0.1f * dir.y))); in UpdateSkid()
567 owner->SetVelocity(spd * 0.95f); in UpdateSkid()
570 owner->SetVelocity(spd * 0.8f); in UpdateSkid()
590 owner->SetVelocity(spd * XZVector); in UpdateControlledDrop()
595 owner->SetVelocity(spd * 0.9f); in UpdateControlledDrop()
[all …]
H A DStrafeAirMoveType.cpp607 owner->SetVelocity(owner->speed * 0.99f); in HandleCollisions()
620 owner->SetVelocity(owner->speed * 0.99f); in HandleCollisions()
933 owner->SetVelocity(spd + (owner->frontdir * accRate)); in UpdateTakeOff()
1094 owner->SetVelocity(spd + (engineThrustVector * accRate * engine)); in UpdateAirPhysics()
1097 owner->SetVelocity(spd * crashDrag); in UpdateAirPhysics()
1099 owner->SetVelocity(spd * invDrag); in UpdateAirPhysics()
1111 owner->SetVelocity(spd - (wingDir * wingForce)); in UpdateAirPhysics()
1112 owner->SetVelocity(spd + ((frontdir * speedf - spd) * speedToFront)); in UpdateAirPhysics()
1149 owner->SetVelocity(spd * 0.95f); in UpdateAirPhysics()
1151 owner->SetVelocity(spd + (UpVector * impactSpeed)); in UpdateAirPhysics()
[all …]
H A DHoverAirMoveType.cpp748 owner->SetVelocity((spd * XZVector) + (UpVector * curVertSpeed)); in UpdateVerticalSpeed()
783 owner->SetVelocity((spd * XZVector) + (UpVector * std::max(ws, spd.y - accRate * 1.5f))); in UpdateVerticalSpeed()
786 …owner->SetVelocity((spd * XZVector) + (UpVector * std::min(ws, spd.y + accRate * ((curRelHeight < … in UpdateVerticalSpeed()
789 owner->SetVelocity((spd * XZVector) + (UpVector * spd.y * 0.95f)); in UpdateVerticalSpeed()
810 owner->SetVelocity(spd * XZVector); in UpdateAirPhysics()
819 owner->SetVelocity(wantedSpeed); in UpdateAirPhysics()
822 owner->SetVelocity(spd + (deltaSpeed / math::sqrt(deltaSpeedSq) * accRate)); in UpdateAirPhysics()
828 owner->SetVelocity(wantedSpeed); in UpdateAirPhysics()
831 owner->SetVelocity(spd + (deltaSpeed / math::sqrt(deltaSpeedSq) * decRate)); in UpdateAirPhysics()
1116 owner->SetVelocity(owner->speed * 0.99f); in HandleCollisions()
[all …]

123456789