/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
btCompoundFromGimpact.h | 14 MyCallback(const btVector3& from, const btVector3& to, int ignorePart, int ignoreTriangleIndex) 21 virtual btScalar reportHit(const btVector3& hitNormalLocal, btScalar hitFraction, int partId, int triangleIndex) 45 virtual void internalProcessTriangleIndex(btVector3* triangle,int partId,int triangleIndex) 47 btVector3 scale = m_gimpactShape->getLocalScaling(); 48 btVector3 v0=triangle[0]*scale; 49 btVector3 v1=triangle[1]*scale; 50 btVector3 v2=triangle[2]*scale; 52 btVector3 centroid = (v0+v1+v2)/3; 53 btVector3 normal = (v1-v0).cross(v2-v0) [all...] |
btGeometryOperations.h | 41 SIMD_FORCE_INLINE void bt_edge_plane(const btVector3 & e1,const btVector3 & e2, const btVector3 & normal,btVector4 & plane) 43 btVector3 planenormal = (e2-e1).cross(normal); 55 btVector3 & cp, const btVector3 & v, 56 const btVector3 &e1,const btVector3 &e2) 58 btVector3 n = e2-e1; 86 const btVector3 & vDir [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btIDebugDraw.h | 20 #include "btVector3.h" 35 btVector3 m_activeObject; 36 btVector3 m_deactivatedObject; 37 btVector3 m_wantsDeactivationObject; 38 btVector3 m_disabledDeactivationObject; 39 btVector3 m_disabledSimulationObject; 40 btVector3 m_aabb; 41 btVector3 m_contactPoint; 85 virtual void drawLine(const btVector3& from,const btVector3& to,const btVector3& color)=0 [all...] |
btAabbUtil2.h | 21 #include "btVector3.h" 26 SIMD_FORCE_INLINE void AabbExpand (btVector3& aabbMin, 27 btVector3& aabbMax, 28 const btVector3& expansionMin, 29 const btVector3& expansionMax) 36 SIMD_FORCE_INLINE bool TestPointAgainstAabb2(const btVector3 &aabbMin1, const btVector3 &aabbMax1, 37 const btVector3 &point) 48 SIMD_FORCE_INLINE bool TestAabbAgainstAabb2(const btVector3 &aabbMin1, const btVector3 &aabbMax1 [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btConvexTriangleMeshShape.cpp | 39 btVector3 m_supportVertexLocal; 43 btVector3 m_supportVecLocal; 45 LocalSupportVertexCallback(const btVector3& supportVecLocal) 52 virtual void internalProcessTriangleIndex(btVector3* triangle,int partId,int triangleIndex) 68 btVector3 GetSupportVertexLocal() 79 btVector3 btConvexTriangleMeshShape::localGetSupportingVertexWithoutMargin(const btVector3& vec0)const 81 btVector3 supVec(btScalar(0.),btScalar(0.),btScalar(0.)); 83 btVector3 vec = vec0; 95 btVector3 aabbMax(btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT)) [all...] |
btBoxShape.cpp | 17 btBoxShape::btBoxShape( const btVector3& boxHalfExtents) 24 btVector3 margin(getMargin(),getMargin(),getMargin()); 31 void btBoxShape::getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const 37 void btBoxShape::calculateLocalInertia(btScalar mass,btVector3& inertia) const 40 btVector3 halfExtents = getHalfExtentsWithMargin();
|
btCollisionShape.h | 20 #include "LinearMath/btVector3.h" 47 virtual void getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const =0; 49 virtual void getBoundingSphere(btVector3& center,btScalar& radius) const; 59 void calculateTemporalAabb(const btTransform& curTrans,const btVector3& linvel,const btVector3& angvel,btScalar timeStep, btVector3& temporalAabbMin,btVector3& temporalAabbMax) const; 102 virtual void setLocalScaling(const btVector3& scaling) =0; 103 virtual const btVector3& getLocalScaling() const =0 [all...] |
btConeShape.cpp | 26 btVector3 halfExtents; 71 btVector3 btConeShape::coneLocalSupport(const btVector3& v) const 78 btVector3 tmp; 89 btVector3 tmp; 96 btVector3 tmp; 106 btVector3 btConeShape::localGetSupportingVertexWithoutMargin(const btVector3& vec) const 111 void btConeShape::batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) cons [all...] |
btScaledBvhTriangleMeshShape.h | 28 btVector3 m_localScaling; 37 btScaledBvhTriangleMeshShape(btBvhTriangleMeshShape* childShape,const btVector3& localScaling); 42 virtual void getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const; 43 virtual void setLocalScaling(const btVector3& scaling); 44 virtual const btVector3& getLocalScaling() const; 45 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const; 47 virtual void processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) const;
|
btScaledBvhTriangleMeshShape.cpp | 19 btScaledBvhTriangleMeshShape::btScaledBvhTriangleMeshShape(btBvhTriangleMeshShape* childShape,const btVector3& localScaling) 34 btVector3 m_localScaling; 38 btScaledTriangleCallback(btTriangleCallback* originalCallback,const btVector3& localScaling) 44 virtual void processTriangle(btVector3* triangle, int partId, int triangleIndex) 46 btVector3 newTriangle[3]; 54 void btScaledBvhTriangleMeshShape::processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) const 58 btVector3 invLocalScaling(1.f/m_localScaling.getX(),1.f/m_localScaling.getY(),1.f/m_localScaling.getZ()); 59 btVector3 scaledAabbMin,scaledAabbMax; 77 void btScaledBvhTriangleMeshShape::getAabb(const btTransform& trans,btVector3& aabbMin,btVector3& aabbMax) cons [all...] |
btCylinderShape.cpp | 18 btCylinderShape::btCylinderShape (const btVector3& halfExtents) 24 btVector3 margin(getMargin(),getMargin(),getMargin()); 30 btCylinderShapeX::btCylinderShapeX (const btVector3& halfExtents) 38 btCylinderShapeZ::btCylinderShapeZ (const btVector3& halfExtents) 45 void btCylinderShape::getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const 50 void btCylinderShape::calculateLocalInertia(btScalar mass,btVector3& inertia) const 68 btVector3 halfExtents = getHalfExtentsWithMargin(); // get cylinder dimension 110 btVector3 halfExtents = getHalfExtentsWithMargin(); 123 SIMD_FORCE_INLINE btVector3 CylinderLocalSupportX(const btVector3& halfExtents,const btVector3& v) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/ |
btDiscreteCollisionDetectorInterface.h | 21 #include "LinearMath/btVector3.h" 39 virtual void addContactPoint(const btVector3& normalOnBInWorld,const btVector3& pointInWorld,btScalar depth)=0; 66 btVector3 m_normalOnSurfaceB; 67 btVector3 m_closestPointInB; 76 virtual void addContactPoint(const btVector3& normalOnBInWorld,const btVector3& pointInWorld,btScalar depth)
|
btGjkEpa2.h | 42 btVector3 witnesses[2]; 43 btVector3 normal; 51 const btVector3& guess, 56 const btVector3& guess, 60 static btScalar SignedDistance( const btVector3& position, 68 const btVector3& guess,
|
btManifoldPoint.h | 19 #include "LinearMath/btVector3.h" 59 btManifoldPoint( const btVector3 &pointA, const btVector3 &pointB, 60 const btVector3 &normal, 85 btVector3 m_localPointA; 86 btVector3 m_localPointB; 87 btVector3 m_positionWorldOnB; 89 btVector3 m_positionWorldOnA; 90 btVector3 m_normalWorldOnB; 116 btVector3 m_lateralFrictionDir1 [all...] |
btPointCollector.h | 27 btVector3 m_normalOnBInWorld; 28 btVector3 m_pointInWorld; 50 virtual void addContactPoint(const btVector3& normalOnBInWorld,const btVector3& pointInWorld,btScalar depth)
|
btRaycastCallback.h | 29 btVector3 m_from; 30 btVector3 m_to; 47 btTriangleRaycastCallback(const btVector3& from,const btVector3& to, unsigned int flags=0); 49 virtual void processTriangle(btVector3* triangle, int partId, int triangleIndex); 51 virtual btScalar reportHit(const btVector3& hitNormalLocal, btScalar hitFraction, int partId, int triangleIndex ) = 0; 68 virtual void processTriangle (btVector3* triangle, int partId, int triangleIndex); 70 virtual btScalar reportHit (const btVector3& hitNormalLocal, const btVector3& hitPointLocal, btScalar hitFraction, int partId, int triangleIndex) = 0;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/ |
btMultiBodySolverConstraint.h | 19 #include "LinearMath/btVector3.h" 40 btVector3 m_relpos1CrossNormal; 41 btVector3 m_contactNormal1; 42 btVector3 m_relpos2CrossNormal; 43 btVector3 m_contactNormal2; //usually m_contactNormal2 == -m_contactNormal1, but not always 46 btVector3 m_angularComponentA; 47 btVector3 m_angularComponentB;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/ |
btCharacterControllerInterface.h | 19 #include "LinearMath/btVector3.h" 32 virtual void setWalkDirection(const btVector3& walkDirection) = 0; 33 virtual void setVelocityForTimeInterval(const btVector3& velocity, btScalar timeInterval) = 0; 35 virtual void warp (const btVector3& origin) = 0;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/ |
btAxisSweep3.cpp | 23 btAxisSweep3::btAxisSweep3(const btVector3& worldAabbMin,const btVector3& worldAabbMax, unsigned short int maxHandles, btOverlappingPairCache* pairCache, bool disableRaycastAccelerator) 32 bt32BitAxisSweep3::bt32BitAxisSweep3(const btVector3& worldAabbMin,const btVector3& worldAabbMax, unsigned int maxHandles , btOverlappingPairCache* pairCache , bool disableRaycastAccelerator)
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/ |
btJointFeedback.java | 62 public void setAppliedForceBodyA(btVector3 value) { 63 DynamicsJNI.btJointFeedback_appliedForceBodyA_set(swigCPtr, this, btVector3.getCPtr(value), value); 66 public btVector3 getAppliedForceBodyA() { 68 return (cPtr == 0) ? null : new btVector3(cPtr, false); 71 public void setAppliedTorqueBodyA(btVector3 value) { 72 DynamicsJNI.btJointFeedback_appliedTorqueBodyA_set(swigCPtr, this, btVector3.getCPtr(value), value); 75 public btVector3 getAppliedTorqueBodyA() { 77 return (cPtr == 0) ? null : new btVector3(cPtr, false); 80 public void setAppliedForceBodyB(btVector3 value) { 81 DynamicsJNI.btJointFeedback_appliedForceBodyB_set(swigCPtr, this, btVector3.getCPtr(value), value) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig/collision/ |
btMultiSphereShape.i | 7 btVector3* Vector3ArrayToBtVector3Array(JNIEnv * jenv, jobjectArray source) { 13 btVector3* result = new btVector3[len]; 33 btVector3* array; 35 gdxAutoDeleteBtVector3Array(btVector3* arr) : 44 %typemap(jstype) btVector3* "Vector3[]" 45 %typemap(jtype) btVector3* "Vector3[]" 46 %typemap(javain) btVector3* "$javainput" 47 %typemap(jni) btVector3* "jobjectArray" 49 %typemap(in, fragment="gdxBulletHelpersVector3Array", noblock=1) btVector3* { [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
btVoronoiSimplexSolver.java | 69 public void setSimplexVectorW(btVector3 value) { 70 CollisionJNI.btVoronoiSimplexSolver_simplexVectorW_set(swigCPtr, this, btVector3.getCPtr(value), value); 73 public btVector3 getSimplexVectorW() { 75 return (cPtr == 0) ? null : new btVector3(cPtr, false); 78 public void setSimplexPointsP(btVector3 value) { 79 CollisionJNI.btVoronoiSimplexSolver_simplexPointsP_set(swigCPtr, this, btVector3.getCPtr(value), value); 82 public btVector3 getSimplexPointsP() { 84 return (cPtr == 0) ? null : new btVector3(cPtr, false); 87 public void setSimplexPointsQ(btVector3 value) { 88 CollisionJNI.btVoronoiSimplexSolver_simplexPointsQ_set(swigCPtr, this, btVector3.getCPtr(value), value) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Vehicle/ |
btWheelInfo.h | 14 #include "LinearMath/btVector3.h" 21 btVector3 m_chassisConnectionCS; 22 btVector3 m_wheelDirectionCS; 23 btVector3 m_wheelAxleCS; 43 btVector3 m_contactNormalWS;//contactnormal 44 btVector3 m_contactPointWS;//raycast hitpoint 46 btVector3 m_hardPointWS;//raycast starting point 47 btVector3 m_wheelDirectionWS; //direction in worldspace 48 btVector3 m_wheelAxleWS; // axle in worldspace 57 btVector3 m_chassisConnectionPointCS; //cons [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/collision/ |
ClosestNotMeConvexResultCallback.h | 4 #include "../../../bullet/LinearMath/btVector3.h" 16 ClosestNotMeConvexResultCallback (btCollisionObject* me,const btVector3& fromA,const btVector3& toA);
|
ClosestNotMeRayResultCallback.cpp | 4 : ClosestRayResultCallback(btVector3(0.0, 0.0, 0.0), btVector3(0.0, 0.0, 0.0))
|