Home
last modified time | relevance | path

Searched refs:quatRotate (Results 1 – 14 of 14) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyLink.h174 m_cachedRVector = m_dVector + quatRotate(m_cachedRotParentToThis,m_eVector); in updateCache()
191 m_cachedRVector = m_dVector + quatRotate(m_cachedRotParentToThis,m_eVector);
198 …m_cachedRVector = m_dVector + quatRotate(m_cachedRotParentToThis,m_eVector) + pJointPos[0] * getAx…
205 m_cachedRVector = m_dVector + quatRotate(m_cachedRotParentToThis,m_eVector);
212 …RVector = quatRotate(btQuaternion(getAxisTop(0),-pJointPos[0]), pJointPos[1] * getAxisBottom(1) + …
219 m_cachedRVector = m_dVector + quatRotate(m_cachedRotParentToThis,m_eVector);
DbtMultiBodyDynamicsWorld.cpp855 btVector3 vec = quatRotate(tr.getRotation(),bod->getLink(m).m_axes[0].m_topVec); in debugDrawWorld()
858 btVector3 from = vec+tr.getOrigin()-quatRotate(tr.getRotation(),bod->getLink(m).m_dVector); in debugDrawWorld()
859 btVector3 to = tr.getOrigin()-quatRotate(tr.getRotation(),bod->getLink(m).m_dVector); in debugDrawWorld()
864 btVector3 vec = quatRotate(tr.getRotation(),bod->getLink(m).m_axes[0].m_bottomVec); in debugDrawWorld()
867 btVector3 from = vec+tr.getOrigin()-quatRotate(tr.getRotation(),bod->getLink(m).m_dVector); in debugDrawWorld()
868 btVector3 to = tr.getOrigin()-quatRotate(tr.getRotation(),bod->getLink(m).m_dVector); in debugDrawWorld()
873 btVector3 vec = quatRotate(tr.getRotation(),bod->getLink(m).m_axes[0].m_bottomVec); in debugDrawWorld()
876 btVector3 from = vec+tr.getOrigin()-quatRotate(tr.getRotation(),bod->getLink(m).m_dVector); in debugDrawWorld()
877 btVector3 to = tr.getOrigin()-quatRotate(tr.getRotation(),bod->getLink(m).m_dVector); in debugDrawWorld()
DbtMultiBodyJointMotor.cpp131 …btVector3 revoluteAxisInWorld = quatRotate(m_bodyA->getLink(m_linkA).m_cachedWorldTransform.getRot… in createConstraintRows()
139 …btVector3 prismaticAxisInWorld = quatRotate(m_bodyA->getLink(m_linkA).m_cachedWorldTransform.getRo… in createConstraintRows()
DbtMultiBodyJointLimitConstraint.cpp137 …btVector3 revoluteAxisInWorld = direction*quatRotate(m_bodyA->getLink(m_linkA).m_cachedWorldTransf… in createConstraintRows()
145 …btVector3 prismaticAxisInWorld = direction* quatRotate(m_bodyA->getLink(m_linkA).m_cachedWorldTran… in createConstraintRows()
DbtMultiBody.cpp455 result = quatRotate(getParentToLocalRot(i).inverse(),result); in localPosToWorld()
460 result = quatRotate(getWorldToBaseRot().inverse() ,result); in localPosToWorld()
470 return quatRotate(getWorldToBaseRot(),(world_pos - getBasePos())); in worldPosToLocal()
473 …return quatRotate(getParentToLocalRot(i),worldPosToLocal(getParent(i), world_pos)) - getRVector(i); in worldPosToLocal()
481 result = quatRotate(getParentToLocalRot(i).inverse() , result); in localDirToWorld()
484 result = quatRotate(getWorldToBaseRot().inverse() , result); in localDirToWorld()
491 return quatRotate(getWorldToBaseRot(), world_dir); in worldDirToLocal()
493 return quatRotate(getParentToLocalRot(i) ,worldDirToLocal(getParent(i), world_dir)); in worldDirToLocal()
501 omega[0] = quatRotate(m_baseQuat ,getBaseOmega()); in compTreeLinkVelocities()
502 vel[0] = quatRotate(m_baseQuat ,getBaseVel()); in compTreeLinkVelocities()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtInternalEdgeUtility.cpp236 btVector3 computedNormalB = quatRotate(orn,normalA); in processTriangle()
260 btVector3 computedNormalB = quatRotate(orn,normalA); in processTriangle()
282 btVector3 computedNormalB = quatRotate(orn,normalA); in processTriangle()
586 btVector3 computedNormalB = quatRotate(orn,tri_normal); in btAdjustInternalEdgeContacts()
674 btVector3 computedNormalB = quatRotate(orn,tri_normal); in btAdjustInternalEdgeContacts()
757 btVector3 computedNormalB = quatRotate(orn,tri_normal); in btAdjustInternalEdgeContacts()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtConeTwistConstraint.cpp598 btVector3 TwistRef = quatRotate(rotationArc,b2Axis2); in calcAngleInfo()
668 btVector3 vConeNoTwist = quatRotate(qAB, vTwist); vConeNoTwist.normalize(); in calcAngleInfo2()
698 m_swingAxis = quatRotate(qB, -swingAxis); in calcAngleInfo2()
807 m_twistAxis = quatRotate(qB, -twistAxis); in calcAngleInfo2()
815 m_twistAxisA = quatRotate(qA, -twistAxis); in calcAngleInfo2()
921 return quatRotate(qSwing, vPointInConstraintSpace); in GetPointForAngle()
1009 btVector3 vTwisted = quatRotate(m_qTarget, vTwist); in setMotorTargetInConstraintSpace()
DbtHingeConstraint.cpp77 btVector3 rbAxisB1 = quatRotate(rotationArc,rbAxisA1); in btHingeConstraint()
128 btVector3 rbAxisB1 = quatRotate(rotationArc,rbAxisA1); in btHingeConstraint()
738 btVector3 vNoHinge = quatRotate(qConstraint, vHinge); vNoHinge.normalize(); in setMotorTarget()
DbtHingeConstraint.h210 btVector3 rbAxisB1 = quatRotate(rotationArc,rbAxisA1); in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/
DLinearMath.java272 public static Vector3 quatRotate(Quaternion rotation, Vector3 v) { in quatRotate() method in LinearMath
273 return LinearMathJNI.quatRotate(rotation, v); in quatRotate()
DLinearMathJNI.java210 public final static native Vector3 quatRotate(Quaternion jarg1, Vector3 jarg2); in quatRotate() method in LinearMathJNI
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
DbtRigidBody.cpp321 btVector3 omegab = quatRotate(q.inverse(), omega1); in computeGyroscopicImpulseImplicit_Body()
348 btVector3 omega2 = quatRotate(q,omegab); in computeGyroscopicImpulseImplicit_Body()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtQuaternion.h884 quatRotate(const btQuaternion& rotation, const btVector3& v) in quatRotate() function
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/
Dlinearmath_wrap.cpp6364 result = quatRotate((btQuaternion const &)*arg1,(btVector3 const &)*arg2); in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_quatRotate()