Searched refs:vel (Results 1 - 21 of 21) sorted by relevance

/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
H A DParticleGroup.java126 Vec2 vel = m_system.m_velocityBuffer.data[i];
127 m_linearVelocity.x += m * vel.x;
128 m_linearVelocity.y += m * vel.y;
140 Vec2 vel = m_system.m_velocityBuffer.data[i];
143 float vx = vel.x - m_linearVelocity.x;
144 float vy = vel.y - m_linearVelocity.y;
H A DParticleSystem.java730 Vec2 vel = m_velocityBuffer.data[i];
731 pos.x += step.dt * vel.x;
732 pos.y += step.dt * vel.y;
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
H A DbtContactConstraint.cpp92 btVector3 vel = vel1 - vel2; local
94 rel_vel = normal.dot(vel);
142 btVector3 vel = vel1 - vel2; local
161 rel_vel = normal.dot(vel);
H A DbtSliderConstraint.cpp572 btScalar vel = linVelA.dot(ax1); local
573 vel -= linVelB.dot(ax1);
574 vel *= signFact;
579 if(vel < 0)
581 btScalar newc = -bounce * vel;
590 if(vel > 0)
592 btScalar newc = -bounce * vel;
675 btScalar vel = m_rbA.getAngularVelocity().dot(ax1); local
676 vel -= m_rbB.getAngularVelocity().dot(ax1);
681 if(vel <
[all...]
H A DbtTypedConstraint.cpp60 btScalar btTypedConstraint::getMotorFactor(btScalar pos, btScalar lowLim, btScalar uppLim, btScalar vel, btScalar timeFact) argument
71 btScalar delta_max = vel / timeFact;
H A DbtGeneric6DofConstraint.cpp291 btVector3 vel = vel1 - vel2; local
293 btScalar rel_vel = axis_normal_on_a.dot(vel);
895 btScalar vel; local
898 vel = angVelA.dot(ax1);
901 vel -= angVelB.dot(ax1);
905 vel = linVelA.dot(ax1);
908 vel -= linVelB.dot(ax1);
914 if (vel < 0)
916 btScalar newc = -limot->m_bounce* vel;
923 if (vel >
[all...]
H A DbtGeneric6DofSpring2Constraint.cpp661 btScalar vel = rotational ? angVelA.dot(ax1) - angVelB.dot(ax1) : linVelA.dot(ax1) - linVelB.dot(ax1); local
666 if (info->m_constraintError[srow]-vel*limot->m_stopERP > 0) {
667 btScalar bounceerror = -limot->m_bounce* vel;
671 if (info->m_constraintError[srow]-vel*limot->m_stopERP < 0) {
672 btScalar bounceerror = -limot->m_bounce* vel;
685 if (info->m_constraintError[srow]-vel*limot->m_stopERP < 0) {
686 btScalar bounceerror = -limot->m_bounce* vel;
690 if (info->m_constraintError[srow]-vel*limot->m_stopERP > 0) {
691 btScalar bounceerror = -limot->m_bounce* vel;
780 btScalar vel local
[all...]
H A DbtHingeConstraint.cpp627 btScalar vel = angVelA.dot(ax1); local
628 vel -= angVelB.dot(ax1);
633 if(vel < 0)
635 btScalar newc = -bounce * vel;
644 if(vel > 0)
646 btScalar newc = -bounce * vel;
1022 btScalar vel = angVelA.dot(ax1); local
1023 vel -= angVelB.dot(ax1);
1028 if(vel < 0)
1030 btScalar newc = -bounce * vel;
[all...]
H A DbtTypedConstraint.h108 btScalar getMotorFactor(btScalar pos, btScalar lowLim, btScalar uppLim, btScalar vel, btScalar timeFact);
H A DbtSequentialImpulseConstraintSolver.cpp838 btVector3 vel = vel1 - vel2; local
839 btScalar rel_vel = cp.m_normalWorldOnB.dot(vel);
1032 btVector3 vel = vel1 - vel2; local
1033 btScalar rel_vel = cp.m_normalWorldOnB.dot(vel);
1099 cp.m_lateralFrictionDir1 = vel - cp.m_normalWorldOnB * rel_vel;
H A DbtConeTwistConstraint.cpp331 btVector3 vel = vel1 - vel2; local
339 rel_vel = normal.dot(vel);
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DBox2DCharacterControllerTest.java191 Vector2 vel = player.getLinearVelocity();
203 if (Math.abs(vel.x) > MAX_VELOCITY) {
204 vel.x = Math.signum(vel.x) * MAX_VELOCITY;
205 player.setLinearVelocity(vel.x, vel.y);
211 player.setLinearVelocity(vel.x * 0.9f, vel.y);
245 if (Gdx.input.isKeyPressed(Keys.A) && vel.x > -MAX_VELOCITY) {
250 if (Gdx.input.isKeyPressed(Keys.D) && vel
[all...]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
H A DbtMultiBody.h173 // get/set pos/vel/rot/omega for the base link
207 void setBaseVel(const btVector3 &vel) argument
210 m_realBuf[3]=vel[0]; m_realBuf[4]=vel[1]; m_realBuf[5]=vel[2];
225 // get/set pos/vel for child m_links (i = 0 to num_links-1)
624 void compTreeLinkVelocities(btVector3 *omega, btVector3 *vel) const;
H A DbtMultiBody.cpp497 void btMultiBody::compTreeLinkVelocities(btVector3 *omega, btVector3 *vel) const
502 vel[0] = quatRotate(m_baseQuat ,getBaseVel());
507 // transform parent vel into this frame, store in omega[i+1], vel[i+1]
509 omega[parent+1], vel[parent+1], local
510 omega[i+1], vel[i+1]); local
514 vel[i+1] += getJointVel(i) * m_links[i].getAxisBottom(0);
523 btAlignedObjectArray<btVector3> vel;vel.resize(num_links+1); local
524 compTreeLinkVelocities(&omega[0], &vel[
543 btAlignedObjectArray<btVector3> vel;vel.resize(num_links+1); local
[all...]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp334 btVector3 vel = getRigidBody()->getVelocityInLocalPoint( relpos );
348 btScalar proj2 = fwd.dot(vel);
511 btVector3 vel = vel1 - vel2;
513 btScalar vrel = contactPoint.m_frictionDirectionWorld.dot(vel);
/external/robolectric/v3/runtime/
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 212 milliseconds