Home
last modified time | relevance | path

Searched refs:m_floats (Results 1 – 16 of 16) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtQuadWord.h44 btScalar m_floats[4]; in ATTRIBUTE_ALIGNED16() member
57 btScalar m_floats[4]; in ATTRIBUTE_ALIGNED16()
69 btScalar m_floats[4]; in ATTRIBUTE_ALIGNED16()
102 SIMD_FORCE_INLINE const btScalar& getX() const { return m_floats[0]; } in ATTRIBUTE_ALIGNED16()
104 SIMD_FORCE_INLINE const btScalar& getY() const { return m_floats[1]; } in ATTRIBUTE_ALIGNED16()
106 SIMD_FORCE_INLINE const btScalar& getZ() const { return m_floats[2]; } in ATTRIBUTE_ALIGNED16()
108 SIMD_FORCE_INLINE void setX(btScalar _x) { m_floats[0] = _x;}; in ATTRIBUTE_ALIGNED16()
110 SIMD_FORCE_INLINE void setY(btScalar _y) { m_floats[1] = _y;}; in ATTRIBUTE_ALIGNED16()
112 SIMD_FORCE_INLINE void setZ(btScalar _z) { m_floats[2] = _z;}; in ATTRIBUTE_ALIGNED16()
114 SIMD_FORCE_INLINE void setW(btScalar _w) { m_floats[3] = _w;}; in ATTRIBUTE_ALIGNED16()
[all …]
DbtVector3.h90 btScalar m_floats[4]; in ATTRIBUTE_ALIGNED16() local
94 return *((const vec_float4*)&m_floats[0]); in ATTRIBUTE_ALIGNED16()
101 btScalar m_floats[4]; in ATTRIBUTE_ALIGNED16()
112 btScalar m_floats[4]; in ATTRIBUTE_ALIGNED16()
133 m_floats[0] = _x; in ATTRIBUTE_ALIGNED16()
134 m_floats[1] = _y; in ATTRIBUTE_ALIGNED16()
135 m_floats[2] = _z; in ATTRIBUTE_ALIGNED16()
136 m_floats[3] = btScalar(0.f); in ATTRIBUTE_ALIGNED16()
171 m_floats[0] += v.m_floats[0]; in ATTRIBUTE_ALIGNED16()
172 m_floats[1] += v.m_floats[1]; in ATTRIBUTE_ALIGNED16()
[all …]
DbtQuaternion.h169 m_floats[0] += q.x();
170 m_floats[1] += q.y();
171 m_floats[2] += q.z();
172 m_floats[3] += q.m_floats[3];
186 m_floats[0] -= q.x();
187 m_floats[1] -= q.y();
188 m_floats[2] -= q.z();
189 m_floats[3] -= q.m_floats[3];
205 m_floats[0] *= s;
206 m_floats[1] *= s;
[all …]
/external/jmonkeyengine/engine/src/bullet-native/
DjmeBulletUtil.cpp143 float m00 = in->getRow(0).m_floats[0]; in convert()
144 float m01 = in->getRow(0).m_floats[1]; in convert()
145 float m02 = in->getRow(0).m_floats[2]; in convert()
146 float m10 = in->getRow(1).m_floats[0]; in convert()
147 float m11 = in->getRow(1).m_floats[1]; in convert()
148 float m12 = in->getRow(1).m_floats[2]; in convert()
149 float m20 = in->getRow(2).m_floats[0]; in convert()
150 float m21 = in->getRow(2).m_floats[1]; in convert()
151 float m22 = in->getRow(2).m_floats[2]; in convert()
254 float t = in->getRow(0).m_floats[0] + in->getRow(1).m_floats[1] + in->getRow(2).m_floats[2]; in convertQuat()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtGeneric6DofSpring2Constraint.h607 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()
613 dof->m_angularMotorCFM.m_floats[i] = m_angularLimits[i].m_motorCFM; in serialize()
614 dof->m_angularTargetVelocity.m_floats[i] = m_angularLimits[i].m_targetVelocity; in serialize()
615 dof->m_angularMaxMotorForce.m_floats[i] = m_angularLimits[i].m_maxMotorForce; in serialize()
616 dof->m_angularServoTarget.m_floats[i] = m_angularLimits[i].m_servoTarget; in serialize()
[all …]
DbtGeneric6DofConstraint.h624 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()
DbtSolverBody.h53 float m_floats[4]; member
83 return m_floats[0];
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionWorldImporter.cpp92 colObjData->m_worldTransform.m_origin.m_floats[3] = 0.f; in convertAllObjects()
123 colObjData->m_worldTransform.m_origin.m_floats[3] = 0.f; in convertAllObjects()
735 vertices[j].m_floats[0] = meshData.m_meshPartsPtr[i].m_vertices3f[j].m_floats[0]; in createMeshInterface()
736 vertices[j].m_floats[1] = meshData.m_meshPartsPtr[i].m_vertices3f[j].m_floats[1]; in createMeshInterface()
737 vertices[j].m_floats[2] = meshData.m_meshPartsPtr[i].m_vertices3f[j].m_floats[2]; in createMeshInterface()
738 vertices[j].m_floats[3] = meshData.m_meshPartsPtr[i].m_vertices3f[j].m_floats[3]; in createMeshInterface()
752 vertices[j].m_floats[0] = meshData.m_meshPartsPtr[i].m_vertices3d[j].m_floats[0]; in createMeshInterface()
753 vertices[j].m_floats[1] = meshData.m_meshPartsPtr[i].m_vertices3d[j].m_floats[1]; in createMeshInterface()
754 vertices[j].m_floats[2] = meshData.m_meshPartsPtr[i].m_vertices3d[j].m_floats[2]; in createMeshInterface()
755 vertices[j].m_floats[3] = meshData.m_meshPartsPtr[i].m_vertices3d[j].m_floats[3]; in createMeshInterface()
/external/libgdx/extensions/gdx-bullet/jni/swig/softbody/
DbtSoftBody.i74 node.m_n.m_floats[0] = vertices[indices[indexOffset+i]*size+noffset]; in btSoftBody()
75 node.m_n.m_floats[1] = vertices[indices[indexOffset+i]*size+noffset+1]; in btSoftBody()
76 node.m_n.m_floats[2] = vertices[indices[indexOffset+i]*size+noffset+2]; in btSoftBody()
131 const float *src = $self->m_nodes[i].m_x.m_floats; in getVertices()
144 const float * const &point = $self->m_nodes[pidx].m_x.m_floats; in getVertices()
159 const float * const &point = $self->m_nodes[pidx].m_x.m_floats; in getVertices()
160 const float * const &normal = $self->m_nodes[pidx].m_n.m_floats; in getVertices()
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtWorldImporter.cpp997 …dof->setStiffness(i,dofData->m_linearSpringStiffness.m_floats[i],dofData->m_linearSpringStiffnessL… in convertConstraintFloat()
998 dof->setEquilibriumPoint(i,dofData->m_linearEquilibriumPoint.m_floats[i]); in convertConstraintFloat()
1000 …dof->setDamping(i,dofData->m_linearSpringDamping.m_floats[i],dofData->m_linearSpringDampingLimited… in convertConstraintFloat()
1004 …dof->setStiffness(i+3,dofData->m_angularSpringStiffness.m_floats[i],dofData->m_angularSpringStiffn… in convertConstraintFloat()
1005 dof->setEquilibriumPoint(i+3,dofData->m_angularEquilibriumPoint.m_floats[i]); in convertConstraintFloat()
1007 …dof->setDamping(i+3,dofData->m_angularSpringDamping.m_floats[i],dofData->m_angularSpringDampingLim… in convertConstraintFloat()
1327 …dof->setStiffness(i,dofData->m_linearSpringStiffness.m_floats[i],dofData->m_linearSpringStiffnessL… in convertConstraintDouble()
1328 dof->setEquilibriumPoint(i,dofData->m_linearEquilibriumPoint.m_floats[i]); in convertConstraintDouble()
1330 …dof->setDamping(i,dofData->m_linearSpringDamping.m_floats[i],dofData->m_linearSpringDampingLimited… in convertConstraintDouble()
1334 …dof->setStiffness(i+3,dofData->m_angularSpringStiffness.m_floats[i],dofData->m_angularSpringStiffn… in convertConstraintDouble()
[all …]
DbtBulletWorldImporter.cpp250 colObjData->m_worldTransform.m_origin.m_floats[3] = 0.f; in convertAllObjects()
281 colObjData->m_worldTransform.m_origin.m_floats[3] = 0.f; in convertAllObjects()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtStridingMeshInterface.cpp340 tmpVertices[i].m_floats[0] = graphicsbase[0]; in serialize()
341 tmpVertices[i].m_floats[1] = graphicsbase[1]; in serialize()
342 tmpVertices[i].m_floats[2] = graphicsbase[2]; in serialize()
359 tmpVertices[i].m_floats[0] = graphicsbase[0]; in serialize()
360 tmpVertices[i].m_floats[1] = graphicsbase[1]; in serialize()
361 tmpVertices[i].m_floats[2] = graphicsbase[2]; in serialize()
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/autogenerated/
Dbullet.h146 float m_floats[4];
154 double m_floats[4];
162 float m_floats[4];
170 double m_floats[4];
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/
Dlinearmath_wrap.cpp4307 btScalar *b = (btScalar *) arg1->m_floats; in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btVector3_1floats_1set()
4324 result = (btScalar *)(btScalar *) ((arg1)->m_floats); in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btVector3_1floats_1get()
5588 float *b = (float *) arg1->m_floats; in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btVector3FloatData_1floats_1set()
5605 result = (float *)(float *) ((arg1)->m_floats); in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btVector3FloatData_1floats_1get()
5649 double *b = (double *) arg1->m_floats; in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btVector3DoubleData_1floats_1set()
5666 result = (double *)(double *) ((arg1)->m_floats); in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btVector3DoubleData_1floats_1get()
6433 float *b = (float *) arg1->m_floats; in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btQuaternionFloatData_1floats_1set()
6450 result = (float *)(float *) ((arg1)->m_floats); in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btQuaternionFloatData_1floats_1get()
6494 double *b = (double *) arg1->m_floats; in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btQuaternionDoubleData_1floats_1set()
6511 result = (double *)(double *) ((arg1)->m_floats); in Java_com_badlogic_gdx_physics_bullet_linearmath_LinearMathJNI_btQuaternionDoubleData_1floats_1get()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBody.cpp3614 memPtr->m_relPosition[0].m_floats[j] = 0.f; in serialize()
3615 memPtr->m_relPosition[1].m_floats[j] = 0.f; in serialize()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/
Dsoftbody_wrap.cpp1924 node.m_n.m_floats[0] = vertices[indices[indexOffset+i]*size+noffset]; in new_btSoftBody__SWIG_2()
1925 node.m_n.m_floats[1] = vertices[indices[indexOffset+i]*size+noffset+1]; in new_btSoftBody__SWIG_2()
1926 node.m_n.m_floats[2] = vertices[indices[indexOffset+i]*size+noffset+2]; in new_btSoftBody__SWIG_2()
1972 const float *src = self->m_nodes[i].m_x.m_floats; in btSoftBody_getVertices__SWIG_0()
1984 const float * const &point = self->m_nodes[pidx].m_x.m_floats; in btSoftBody_getVertices__SWIG_1()
1998 const float * const &point = self->m_nodes[pidx].m_x.m_floats; in btSoftBody_getVertices__SWIG_2()
1999 const float * const &normal = self->m_nodes[pidx].m_n.m_floats; in btSoftBody_getVertices__SWIG_2()