Home
last modified time | relevance | path

Searched refs:dof (Results 1 – 11 of 11) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtGeneric6DofSpring2Constraint.h598 btGeneric6DofSpring2ConstraintData2* dof = (btGeneric6DofSpring2ConstraintData2*)dataBuffer; in serialize() local
599 btTypedConstraint::serialize(&dof->m_typeConstraintData,serializer); in serialize()
601 m_frameInA.serialize(dof->m_rbAFrame); in serialize()
602 m_frameInB.serialize(dof->m_rbBFrame); in serialize()
607 dof->m_angularLowerLimit.m_floats[i] = m_angularLimits[i].m_loLimit; in serialize()
608 dof->m_angularUpperLimit.m_floats[i] = m_angularLimits[i].m_hiLimit; in serialize()
609 dof->m_angularBounce.m_floats[i] = m_angularLimits[i].m_bounce; in serialize()
610 dof->m_angularStopERP.m_floats[i] = m_angularLimits[i].m_stopERP; in serialize()
611 dof->m_angularStopCFM.m_floats[i] = m_angularLimits[i].m_stopCFM; in serialize()
612 dof->m_angularMotorERP.m_floats[i] = m_angularLimits[i].m_motorERP; in serialize()
[all …]
DbtGeneric6DofSpringConstraint.h106 btGeneric6DofSpringConstraintData2* dof = (btGeneric6DofSpringConstraintData2*)dataBuffer; in serialize() local
107 btGeneric6DofConstraint::serialize(&dof->m_6dofData,serializer); in serialize()
112 dof->m_equilibriumPoint[i] = m_equilibriumPoint[i]; in serialize()
113 dof->m_springDamping[i] = m_springDamping[i]; in serialize()
114 dof->m_springEnabled[i] = m_springEnabled[i]? 1 : 0; in serialize()
115 dof->m_springStiffness[i] = m_springStiffness[i]; in serialize()
DbtGeneric6DofConstraint.h614 btGeneric6DofConstraintData2* dof = (btGeneric6DofConstraintData2*)dataBuffer; in serialize() local
615 btTypedConstraint::serialize(&dof->m_typeConstraintData,serializer); in serialize()
617 m_frameInA.serialize(dof->m_rbAFrame); in serialize()
618 m_frameInB.serialize(dof->m_rbBFrame); in serialize()
624 dof->m_angularLowerLimit.m_floats[i] = m_angularLimits[i].m_loLimit; in serialize()
625 dof->m_angularUpperLimit.m_floats[i] = m_angularLimits[i].m_hiLimit; in serialize()
626 dof->m_linearLowerLimit.m_floats[i] = m_linearLimits.m_lowerLimit[i]; in serialize()
627 dof->m_linearUpperLimit.m_floats[i] = m_linearLimits.m_upperLimit[i]; in serialize()
630 dof->m_useLinearReferenceFrameA = m_useLinearReferenceFrameA? 1 : 0; in serialize()
631 dof->m_useOffsetForConstraintFrame = m_useOffsetForConstraintFrame ? 1 : 0; in serialize()
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtWorldImporter.cpp613 btGeneric6DofSpringConstraint* dof = 0; in convertConstraintBackwardsCompatible281() local
620dof = createGeneric6DofSpringConstraint(*rbA,*rbB,rbAFrame,rbBFrame,dofData->m_6dofData.m_useLinea… in convertConstraintBackwardsCompatible281()
626 if (dof) in convertConstraintBackwardsCompatible281()
635 dof->setAngularLowerLimit(angLowerLimit); in convertConstraintBackwardsCompatible281()
636 dof->setAngularUpperLimit(angUpperLimit); in convertConstraintBackwardsCompatible281()
637 dof->setLinearLowerLimit(linLowerLimit); in convertConstraintBackwardsCompatible281()
638 dof->setLinearUpperLimit(linUpperlimit); in convertConstraintBackwardsCompatible281()
645 dof->setStiffness(i,(btScalar)dofData->m_springStiffness[i]); in convertConstraintBackwardsCompatible281()
646 dof->setEquilibriumPoint(i,(btScalar)dofData->m_equilibriumPoint[i]); in convertConstraintBackwardsCompatible281()
647 dof->enableSpring(i,dofData->m_springEnabled[i]!=0); in convertConstraintBackwardsCompatible281()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyLink.h97 void setAxisTop(int dof, const btVector3 &axis) { m_axes[dof].m_topVec = axis; } in setAxisTop()
98 void setAxisBottom(int dof, const btVector3 &axis) { m_axes[dof].m_bottomVec = axis; } in setAxisBottom()
99 …void setAxisTop(int dof, const btScalar &x, const btScalar &y, const btScalar &z) { m_axes[dof].m_… in setAxisTop()
100 …void setAxisBottom(int dof, const btScalar &x, const btScalar &y, const btScalar &z) { m_axes[dof]… in setAxisBottom()
101 const btVector3 & getAxisTop(int dof) const { return m_axes[dof].m_topVec; } in getAxisTop()
102 const btVector3 & getAxisBottom(int dof) const { return m_axes[dof].m_bottomVec; } in getAxisBottom()
DbtMultiBody.cpp435 for(int dof = 0; dof < m_links[i].m_dofCount; ++dof) in setJointVelMultiDof() local
436 m_realBuf[6 + m_links[i].m_dofOffset + dof] = qdot[dof]; in setJointVelMultiDof()
616 void btMultiBody::addJointTorqueMultiDof(int i, int dof, btScalar Q) in addJointTorqueMultiDof() argument
618 m_links[i].m_jointTorque[dof] += Q; in addJointTorqueMultiDof()
623 for(int dof = 0; dof < m_links[i].m_dofCount; ++dof) in addJointTorqueMultiDof() local
624 m_links[i].m_jointTorque[dof] = Q[dof]; in addJointTorqueMultiDof()
821 for(int dof = 0; dof < m_links[i].m_dofCount; ++dof) in stepVelocitiesMultiDof() local
822 spatJointVel += m_links[i].m_axes[dof] * getJointVelMultiDof(i)[dof]; in stepVelocitiesMultiDof()
912 for(int dof = 0; dof < m_links[i].m_dofCount; ++dof) in stepVelocitiesMultiDof() local
914 btSpatialForceVector &hDof = h[m_links[i].m_dofOffset + dof]; in stepVelocitiesMultiDof()
[all …]
DbtMultiBodyConstraint.h112 void internalSetAppliedImpulse(int dof, btScalar appliedImpulse) in internalSetAppliedImpulse() argument
114 btAssert(dof>=0); in internalSetAppliedImpulse()
115 btAssert(dof < getNumRows()); in internalSetAppliedImpulse()
116 m_data[dof] = appliedImpulse; in internalSetAppliedImpulse()
119 btScalar getAppliedImpulse(int dof) in getAppliedImpulse() argument
121 btAssert(dof>=0); in getAppliedImpulse()
122 btAssert(dof < getNumRows()); in getAppliedImpulse()
123 return m_data[dof]; in getAppliedImpulse()
DbtMultiBody.h312 void addJointTorqueMultiDof(int i, int dof, btScalar Q);
407 for (int dof = 0; dof < 6 + getNumDofs(); ++dof) in applyDeltaVeeMultiDof2() local
409 m_deltaV[dof] += delta_vee[dof] * multiplier; in applyDeltaVeeMultiDof2()
416 for (int dof = 0; dof < 6 + getNumDofs(); ++dof) in processDeltaVeeMultiDof2() local
418 m_deltaV[dof] = 0.f; in processDeltaVeeMultiDof2()
440 for (int dof = 0; dof < 6 + getNumDofs(); ++dof) in applyDeltaVeeMultiDof() local
442 m_realBuf[dof] += delta_vee[dof] * multiplier; in applyDeltaVeeMultiDof()
443 btClamp(m_realBuf[dof],-m_maxCoordinateVelocity,m_maxCoordinateVelocity); in applyDeltaVeeMultiDof()
DbtMultiBodyDynamicsWorld.cpp546 for(int dof = 0; dof < bod->getLink(link).m_posVarCount; ++dof) in solveConstraints() local
547 … scratch_q0[7 + bod->getLink(link).m_cfgOffset + dof] = bod->getLink(link).m_jointPos[dof]; in solveConstraints()
550 for(int dof = 0; dof < numDofs; ++dof) in solveConstraints() local
551 scratch_qd0[dof] = bod->getVelocityVector()[dof]; in solveConstraints()
560 for(int dof = 0; dof < bod->getNumPosVars() + 7; ++dof) in solveConstraints() local
561 scratch_qx[dof] = scratch_q0[dof]; in solveConstraints()
/external/hyphenation-patterns/nb/
Dhyph-nb.pat.txt4796 2dof
/external/hyphenation-patterns/nn/
Dhyph-nn.pat.txt4796 2dof