/dports/graphics/dynamechs/dynamechs_4.0pre1/dm/ |
H A D | dmMobileBaseLink.cpp | 44 m_vel[i] = 0.0; in dmMobileBaseLink() 487 qd[0] = 0.5*( m_vel[0]*m_quat[3]+ m_vel[1]*m_quat[2] - m_vel[2]*m_quat[1]); in ABForwardAccelerations() 488 qd[1] = 0.5*(-m_vel[0]*m_quat[2]+ m_vel[1]*m_quat[3] + m_vel[2]*m_quat[0]); in ABForwardAccelerations() 489 qd[2] = 0.5*( m_vel[0]*m_quat[1]- m_vel[1]*m_quat[0] + m_vel[2]*m_quat[3]); in ABForwardAccelerations() 490 qd[3] =-0.5*(m_vel[0]*m_quat[0] + m_vel[1]*m_quat[1] + m_vel[2]*m_quat[2]); in ABForwardAccelerations() 492 qd[4] = m_vel[3]; in ABForwardAccelerations() 493 qd[5] = m_vel[4]; in ABForwardAccelerations() 708 qd[0] = 0.5*( m_vel[0]*m_quat[3]+ m_vel[1]*m_quat[2] - m_vel[2]*m_quat[1]); in ABForwardAccelerations() 709 qd[1] = 0.5*(-m_vel[0]*m_quat[2]+ m_vel[1]*m_quat[3] + m_vel[2]*m_quat[0]); in ABForwardAccelerations() 710 qd[2] = 0.5*( m_vel[0]*m_quat[1]- m_vel[1]*m_quat[0] + m_vel[2]*m_quat[3]); in ABForwardAccelerations() [all …]
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/plugins/ |
H A D | PhysicalModelingUGens.cpp | 34 float m_vel; member 39 float m_vel; member 45 float m_vel; member 70 unit->m_vel = 0.f; in Spring_Ctor() 79 float vel = unit->m_vel; in Spring_next() 91 unit->m_vel = vel; in Spring_next() 98 unit->m_vel = 0.f; in Ball_Ctor() 113 float vel = unit->m_vel; in Ball_next() 147 unit->m_vel = vel; in Ball_next() 156 unit->m_vel = 0.f; in TBall_Ctor() [all …]
|
/dports/games/wop/wop-0.4.3/src/ |
H A D | goal.cpp | 24 m_vel = vel; in initialize() 34 m_pos += m_vel; // no DT ?! in update() 40 m_vel.x *= -1; in update() 45 m_vel.y *= -1; in update() 50 m_vel = m_worldPointer->getRandom().getVector( m_vel.abs() ); in update()
|
H A D | collidableobject.cpp | 89 const real vDiff = min( (p.vel - m_vel).abs2(), static_cast<real>( 900.0 )); in applyDamage() 152 m_vel += velAdd; in doBallistics() 153 Vector newPos = m_pos + m_vel * DT; in doBallistics() 193 const real vel2 = m_vel.abs2(); in collidedWithObstacle() 197 m_vel.set( 0.0, 0.0 ); in collidedWithObstacle() 201 …outAngle = m_worldPointer->getMap()->calculateBounceAngle( m_vel.x, m_vel.y, colX, colY, Flags::OB… in collidedWithObstacle() 204 m_vel.setAngle( outAngle, vel * m_bounceFactorHigh ); in collidedWithObstacle() 206 m_vel.setAngle( outAngle, vel * m_bounceFactorLow ); in collidedWithObstacle()
|
H A D | object.cpp | 15 m_vel ( 0.0, 0.0 ), in Object() 76 Serialize<Vector>::serialize( m_vel , bufferPointer ); in serialize() 100 Serialize<Vector>::deserialize( bufferPointer, m_vel ); in deserialize() 134 out << "\tVelocity: " << m_vel.x << " " << m_vel.y << endl; in dump()
|
H A D | homingmissile.cpp | 104 m_thrust -= m_vel * SPEED_PREDICTION; in update() 131 m_vel - m_thrust*0.1 + m_worldPointer->getRandom().getVector( 1.5 ), in update() 140 cloud->setVel( m_vel + localRnd.getVector( 2.0 )); in update() 191 : ATAN2_REAL( m_vel.y, m_vel.x )); in updateSpriteSelection()
|
H A D | missile.cpp | 55 m_vel = thrust; in initialize() 57 m_vel = vel; in initialize() 83 m_vel - m_thrust*0.1 + m_worldPointer->getRandom().getVector( 1.5 ), in update() 146 …m_vel + m_worldPointer->getRandom().getVector( 1 + 7*m_worldPointer->getRandom().getNormedReal() ), in applyDamage() 167 const real angle = ATAN2_REAL( m_vel.y, m_vel.x ); in updateSpriteSelection()
|
H A D | object.hpp | 111 Vector m_pos, m_vel, m_force; member in Object 195 m_vel = vel; in setVel() 198 real getVelX() const { return m_vel.x; } in getVelX() 200 real getVelY() const { return m_vel.y; } in getVelY() 202 const Vector& getVel() const { return m_vel; } in getVel()
|
H A D | avatar.cpp | 258 real realDamage = (p.vel - m_vel).abs2(); in applyDamage() 412 m_vel.set( 0.0, 0.0 ); in update() 418 m_vel.y -= (remainingWalkingDistance >= 1.0 ? 1.0 : remainingWalkingDistance); in update() 423 m_vel.x += (isMovingRight() ? 1 : -1) * in update() 432 const Vector newPos = m_pos + m_vel; in update() 438 currentVel += m_vel; in update() 457 m_vel = currentVel; in update() 461 m_vel.set( 0.0, 0.0 ); in update() 541 smoke->setVel( m_vel + localRnd.getVector( 2.0 )); in update() 651 m_vel + in update() [all …]
|
H A D | avatarworm.cpp | 109 Vector vel = m_vel; in applyDamage() 147 m_vel += velAdd; in applyDamage() 156 Vector vel = m_vel; in applyDamage() 171 const Vector eyeVel = m_vel + m_worldPointer->getRandom().getVector( 2.0 ); in applyDamage() 242 Vector vel = m_vel; in applyDamage() 243 vel += m_vel; in applyDamage() 279 Vector vel = m_vel; in applyDamage()
|
H A D | guidedmissile.cpp | 109 m_vel - m_thrust*0.1 + m_worldPointer->getRandom().getVector( 1.5 ), in update() 118 cloud->setVel( m_vel + localRnd.getVector( 2.0 )); in update() 167 : ATAN2_REAL( m_vel.y, m_vel.x )); in updateSpriteSelection()
|
H A D | grenade.cpp | 38 m_vel = vel; in initialize() 91 m_vel + m_worldPointer->getRandom().getVector( length ), in explode() 116 m_vel + in applyDamage()
|
H A D | skwoermzone.cpp | 61 m_vel = getAttachedObject( 0 )->getVel(); in update() 72 m_vel.set( 0.0, 0.0 ); in update()
|
H A D | hook.cpp | 40 m_vel = vel; in initialize() 79 m_vel.set( 0.0, 0.0 ); in collidedWithObstacle()
|
/dports/games/pioneer/pioneer-20210723/src/ |
H A D | DynamicBody.cpp | 29 m_vel = vector3d(0.0); in DynamicBody() 66 m_vel = dynamicBodyObj["vel"]; in DynamicBody() 90 dynamicBodyObj["vel"] = m_vel; in SaveToJson() 214 vector3d dragDir = -m_vel.NormalizedSafe(); in CalcAtmosphericForce() 218 …return CalcAtmosphericDrag(m_vel.LengthSqr(), GetClipRadius() * GetClipRadius() * M_PI, m_dragCoef… in CalcAtmosphericForce() 268 m_vel += double(timeStep) * m_force * (1.0 / m_mass); in TimeStepUpdate() 279 SetPosition(GetPosition() + m_vel * double(timeStep)); in TimeStepUpdate() 327 return m_vel; in GetVelocity() 332 m_vel = v; in SetVelocity()
|
H A D | HyperspaceCloud.cpp | 31 m_vel = (s ? s->GetVelocity() : vector3d(0.0)); in HyperspaceCloud() 45 m_vel = hyperspaceCloudObj["vel"]; in HyperspaceCloud() 78 hyperspaceCloudObj["vel"] = m_vel; in SaveToJson() 102 SetPosition(GetPosition() + m_vel * timeStep); in TimeStepUpdate() 109 m_ship->SetVelocity(m_vel); in TimeStepUpdate() 149 const vector3d oldPos = GetPosition() - m_vel * Pi::game->GetTimeStep(); in UpdateInterpTransform()
|
H A D | HyperspaceCloud.h | 26 virtual void SetVelocity(const vector3d &v) override { m_vel = v; } in SetVelocity() 27 virtual vector3d GetVelocity() const override { return m_vel; } in GetVelocity() 45 vector3d m_vel; variable
|
H A D | Frame.cpp | 23 m_vel(vector3d(0.0)), in Frame() 55 m_vel(vector3d(0.0)), in Frame() 84 m_vel(other.m_vel), in Frame() 115 m_vel = other.m_vel; in operator =() 206 f->m_vel = vector3d(0.0); // m_vel is set to zero. in FromJson() 489 frame.m_vel = (pos2 - frame.m_pos) / timestep; in UpdateOrbitRails() 493 frame.m_pos = frame.m_pos + frame.m_vel * timestep; in UpdateOrbitRails() 544 m_rootVel = parent->m_rootOrient * m_vel + parent->m_rootVel; in UpdateRootRelativeVars()
|
H A D | Frame.h | 75 void SetVelocity(const vector3d &vel) { m_vel = vel; } in SetVelocity() 76 vector3d GetVelocity() const { return m_vel; } in GetVelocity() 151 vector3d m_vel; // note we don't use this to move frame. rather, variable
|
/dports/devel/qt5-location/kde-qtlocation-5.15.2p6/src/plugins/position/geoclue/ |
H A D | qgeopositioninfosource_geocluemaster.cpp | 80 m_vel(0), m_requestTimer(this), m_lastVelocityIsFresh(false), m_regularUpdateTimedOut(false), in QGeoPositionInfoSourceGeoclueMaster() 210 delete m_vel; in cleanupPositionSource() 211 m_vel = 0; in cleanupPositionSource() 315 if (m_vel) { in stopUpdates() 316 disconnect(m_vel, SIGNAL(VelocityChanged(qint32,qint32,double,double,double)), in stopUpdates() 396 … m_vel = new OrgFreedesktopGeoclueVelocityInterface(service, path, QDBusConnection::sessionBus()); in positionProviderChanged() 397 if (m_vel->isValid() && m_running) { in positionProviderChanged() 398 connect(m_vel, SIGNAL(VelocityChanged(qint32,qint32,double,double,double)), in positionProviderChanged()
|
/dports/science/py-obspy/obspy-1.2.2/obspy/signal/tests/ |
H A D | test_freqattributes.py | 163 (pg, m_dis, m_vel, m_acc) = freqattributes.peak_ground_motion( 167 self.assertEqual(m_vel, 0.5) 173 (pg, m_dis, m_vel, m_acc) = freqattributes.peak_ground_motion( 177 self.assertAlmostEqual(m_vel, 0.0174524064373, 6)
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/DetourCrowd/source/ |
H A D | DetourObstacleAvoidance.cpp | 92 m_vel(0), in dtObstacleAvoidanceDebugData() 104 dtFree(m_vel); in ~dtObstacleAvoidanceDebugData() 118 m_vel = (float*)dtAlloc(sizeof(float)*3*m_maxSamples, DT_ALLOC_PERM); in init() 119 if (!m_vel) in init() 153 dtAssert(m_vel); in addSample() 160 dtVcopy(&m_vel[m_nsamples*3], vel); in addSample()
|
/dports/graphics/recastnavigation/recastnavigation-e75adf86f91eb3082220085e42dda62679f9a3ea/DetourCrowd/Source/ |
H A D | DetourObstacleAvoidance.cpp | 90 m_vel(0), in dtObstacleAvoidanceDebugData() 102 dtFree(m_vel); in ~dtObstacleAvoidanceDebugData() 116 m_vel = (float*)dtAlloc(sizeof(float)*3*m_maxSamples, DT_ALLOC_PERM); in init() 117 if (!m_vel) in init() 151 dtAssert(m_vel); in addSample() 158 dtVcopy(&m_vel[m_nsamples*3], vel); in addSample()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/DetourCrowd/include/ |
H A D | DetourObstacleAvoidance.h | 52 inline const float* getSampleVelocity(const int i) const { return &m_vel[i*3]; } in getSampleVelocity() 63 float* m_vel; variable
|
/dports/graphics/recastnavigation/recastnavigation-e75adf86f91eb3082220085e42dda62679f9a3ea/DetourCrowd/Include/ |
H A D | DetourObstacleAvoidance.h | 52 inline const float* getSampleVelocity(const int i) const { return &m_vel[i*3]; } in getSampleVelocity() 67 float* m_vel; variable
|