HomeSort by relevance Sort by last modified time
    Searched refs:btVector3 (Results 51 - 75 of 340) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
btGjkEpaPenetrationDepthSolver.h 35 btVector3& v, btVector3& wWitnessOnA, btVector3& wWitnessOnB,
  /external/libgdx/extensions/gdx-bullet/jni/swig/collision/
btCollisionWorld.i 28 void getRayFromWorld(btVector3 &out) {
31 void setRayFromWorld(btVector3 const &value) {
35 void getRayToWorld(btVector3 &out) {
38 void setRayToWorld(btVector3 const &value) {
42 void getHitNormalWorld(btVector3 &out) {
45 void setHitNormalWorld(btVector3 const &value) {
49 void getHitPointWorld(btVector3 &out) {
52 void setHitPointWorld(btVector3 const &value) {
61 void getRayFromWorld(btVector3 &out) {
64 void setRayFromWorld(btVector3 const &value)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
btBox2dShape.h 22 #include "LinearMath/btVector3.h"
29 //btVector3 m_boxHalfExtents1; //use m_implicitShapeDimensions instead
31 btVector3 m_centroid;
32 btVector3 m_vertices[4];
33 btVector3 m_normals[4];
39 btVector3 getHalfExtentsWithMargin() const
41 btVector3 halfExtents = getHalfExtentsWithoutMargin();
42 btVector3 margin(getMargin(),getMargin(),getMargin());
47 const btVector3& getHalfExtentsWithoutMargin() const
53 virtual btVector3 localGetSupportingVertex(const btVector3& vec) cons
    [all...]
btTriangleMeshShape.cpp 17 #include "LinearMath/btVector3.h"
47 void btTriangleMeshShape::getAabb(const btTransform& trans,btVector3& aabbMin,btVector3& aabbMax) const
50 btVector3 localHalfExtents = btScalar(0.5)*(m_localAabbMax-m_localAabbMin);
51 localHalfExtents += btVector3(getMargin(),getMargin(),getMargin());
52 btVector3 localCenter = btScalar(0.5)*(m_localAabbMax+m_localAabbMin);
56 btVector3 center = trans(localCenter);
58 btVector3 extent = localHalfExtents.dot3(abs_b[0], abs_b[1], abs_b[2]);
67 btVector3 vec(btScalar(0.),btScalar(0.),btScalar(0.));
69 btVector3 tmp = localGetSupportingVertex(vec)
    [all...]
btCapsuleShape.h 42 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const;
45 virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec)const;
47 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;
52 btVector3 oldMargin(getMargin(),getMargin(),getMargin());
53 btVector3 implicitShapeDimensionsWithMargin = m_implicitShapeDimensions+oldMargin;
56 btVector3 newMargin(getMargin(),getMargin(),getMargin());
61 virtual void getAabb (const btTransform& t, btVector3& aabbMin, btVector3& aabbMax) cons
    [all...]
btTetrahedronShape.cpp 25 btBU_Simplex1to4::btBU_Simplex1to4(const btVector3& pt0) : btPolyhedralConvexAabbCachingShape (),
32 btBU_Simplex1to4::btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1) : btPolyhedralConvexAabbCachingShape (),
40 btBU_Simplex1to4::btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2) : btPolyhedralConvexAabbCachingShape (),
49 btBU_Simplex1to4::btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2,const btVector3& pt3) : btPolyhedralConvexAabbCachingShape ()
    [all...]
btTriangleMesh.h 20 #include "LinearMath/btVector3.h"
29 btAlignedObjectArray<btVector3> m_4componentVertices;
54 void addTriangle(const btVector3& vertex0,const btVector3& vertex1,const btVector3& vertex2, bool removeDuplicateVertices=false);
65 int findOrAddVertex(const btVector3& vertex, bool removeDuplicateVertices);
btStridingMeshInterface.h 19 #include "LinearMath/btVector3.h"
34 btVector3 m_scaling;
48 virtual void InternalProcessAllTriangles(btInternalTriangleIndexCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) const;
51 void calculateAabbBruteForce(btVector3& aabbMin,btVector3& aabbMax);
77 virtual void setPremadeAabb(const btVector3& aabbMin, const btVector3& aabbMax ) const
82 virtual void getPremadeAabb(btVector3* aabbMin, btVector3* aabbMax ) cons
    [all...]
btMinkowskiSumShape.cpp 30 btVector3 btMinkowskiSumShape::localGetSupportingVertexWithoutMargin(const btVector3& vec)const
32 btVector3 supVertexA = m_transA(m_shapeA->localGetSupportingVertexWithoutMargin(vec*m_transA.getBasis()));
33 btVector3 supVertexB = m_transB(m_shapeB->localGetSupportingVertexWithoutMargin(-vec*m_transB.getBasis()));
37 void btMinkowskiSumShape::batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const
55 void btMinkowskiSumShape::calculateLocalInertia(btScalar mass,btVector3& inertia) const
btStaticPlaneShape.cpp 21 btStaticPlaneShape::btStaticPlaneShape(const btVector3& planeNormal,btScalar planeConstant)
37 void btStaticPlaneShape::getAabb(const btTransform& t,btVector3& aabbMin,btVector3& aabbMax) const
41 btVector3 infvec (btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT),btScalar(BT_LARGE_FLOAT));
43 btVector3 center = m_planeNormal*m_planeConstant;
58 void btStaticPlaneShape::processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) const
61 btVector3 halfExtents = (aabbMax - aabbMin) * btScalar(0.5);
63 btVector3 center = (aabbMax + aabbMin) * btScalar(0.5);
67 btVector3 tangentDir0,tangentDir1
    [all...]
btConeShape.h 31 btVector3 coneLocalSupport(const btVector3& v) const;
39 virtual btVector3 localGetSupportingVertex(const btVector3& vec) const;
40 virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec) const;
41 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;
47 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const
51 btVector3 aabbMin,aabbMax
    [all...]
btBoxShape.h 22 #include "LinearMath/btVector3.h"
29 //btVector3 m_boxHalfExtents1; //use m_implicitShapeDimensions instead
36 btVector3 getHalfExtentsWithMargin() const
38 btVector3 halfExtents = getHalfExtentsWithoutMargin();
39 btVector3 margin(getMargin(),getMargin(),getMargin());
44 const btVector3& getHalfExtentsWithoutMargin() const
50 virtual btVector3 localGetSupportingVertex(const btVector3& vec) const
52 btVector3 halfExtents = getHalfExtentsWithoutMargin();
53 btVector3 margin(getMargin(),getMargin(),getMargin())
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
btUniversalConstraint.cpp 30 btUniversalConstraint::btUniversalConstraint(btRigidBody& rbA, btRigidBody& rbB, const btVector3& anchor, const btVector3& axis1, const btVector3& axis2)
45 btVector3 zAxis = m_axis1.normalize();
46 btVector3 yAxis = m_axis2.normalize();
47 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system
58 setLinearLowerLimit(btVector3(0., 0., 0.));
59 setLinearUpperLimit(btVector3(0., 0., 0.));
60 setAngularLowerLimit(btVector3(0.f, -SIMD_HALF_PI + UNIV_EPS, -SIMD_PI + UNIV_EPS));
61 setAngularUpperLimit(btVector3(0.f, SIMD_HALF_PI - UNIV_EPS, SIMD_PI - UNIV_EPS))
    [all...]
btHinge2Constraint.cpp 27 btHinge2Constraint::btHinge2Constraint(btRigidBody& rbA, btRigidBody& rbB, btVector3& anchor, btVector3& axis1, btVector3& axis2)
42 btVector3 zAxis = axis1.normalize();
43 btVector3 xAxis = axis2.normalize();
44 btVector3 yAxis = zAxis.cross(xAxis); // we want right coordinate system
55 setLinearLowerLimit(btVector3(0.f, 0.f, -1.f));
56 setLinearUpperLimit(btVector3(0.f, 0.f, 1.f));
58 setAngularLowerLimit(btVector3(1.f, 0.f, -SIMD_HALF_PI * 0.5f));
59 setAngularUpperLimit(btVector3(-1.f, 0.f, SIMD_HALF_PI * 0.5f))
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
btRigidBody.h 66 btVector3 m_linearVelocity;
67 btVector3 m_angularVelocity;
69 btVector3 m_linearFactor;
71 btVector3 m_gravity;
72 btVector3 m_gravity_acceleration;
73 btVector3 m_invInertiaLocal;
74 btVector3 m_totalForce;
75 btVector3 m_totalTorque;
103 ATTRIBUTE_ALIGNED16(btVector3 m_deltaLinearVelocity);
104 btVector3 m_deltaAngularVelocity
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
btDbvtBroadphase.h 50 btDbvtProxy(const btVector3& aabbMin,const btVector3& aabbMax,void* userPtr,short int collisionFilterGroup, short int collisionFilterMask) :
107 btBroadphaseProxy* createProxy(const btVector3& aabbMin,const btVector3& aabbMax,int shapeType,void* userPtr,short int collisionFilterGroup,short int collisionFilterMask,btDispatcher* dispatcher,void* multiSapProxy);
109 virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax,btDispatcher* dispatcher);
110 virtual void rayTest(const btVector3& rayFrom,const btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin=btVector3(0,0,0), const btVector3& aabbMax = btVector3(0,0,0))
    [all...]
btMultiSapBroadphase.h 66 btVector3 m_aabbMin;
67 btVector3 m_aabbMax;
75 btMultiSapProxy(const btVector3& aabbMin, const btVector3& aabbMax,int shapeType,void* userPtr, short int collisionFilterGroup,short int collisionFilterMask)
109 virtual btBroadphaseProxy* createProxy( const btVector3& aabbMin, const btVector3& aabbMax,int shapeType,void* userPtr, short int collisionFilterGroup,short int collisionFilterMask, btDispatcher* dispatcher,void* multiSapProxy);
111 virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax, btDispatcher* dispatcher);
112 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const
    [all...]
btSimpleBroadphase.h 32 btSimpleBroadphaseProxy(const btVector3& minpt,const btVector3& maxpt,int shapeType,void* userPtr,short int collisionFilterGroup,short int collisionFilterMask,void* multiSapProxy)
130 virtual btBroadphaseProxy* createProxy( const btVector3& aabbMin, const btVector3& aabbMax,int shapeType,void* userPtr ,short int collisionFilterGroup,short int collisionFilterMask, btDispatcher* dispatcher,void* multiSapProxy);
135 virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax, btDispatcher* dispatcher);
136 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const;
138 virtual void rayTest(const btVector3& rayFrom,const btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin=btVector3(0,0,0),const btVe (…)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
SphereTriangleDetector.cpp 37 btVector3 point,normal;
48 btVector3 normalOnB = transformB.getBasis()*normal;
49 btVector3 normalOnA = -normalOnB;
50 btVector3 pointOnA = transformB*point+normalOnB*depth;
64 btScalar SegmentSqrDistance(const btVector3& from, const btVector3& to,const btVector3 &p, btVector3 &nearest);
66 btScalar SegmentSqrDistance(const btVector3& from, const btVector3& to,const btVector3 &p, btVector3 &nearest)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/
btKinematicCharacterController.h 20 #include "LinearMath/btVector3.h"
62 btVector3 m_walkDirection;
63 btVector3 m_normalizedDirection;
66 btVector3 m_currentPosition;
68 btVector3 m_targetPosition;
74 btVector3 m_touchingNormal;
83 static btVector3* getUpAxisDirections();
88 btVector3 computeReflectionDirection (const btVector3& direction, const btVector3& normal)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
btMultiBody.h 28 #include "LinearMath/btVector3.h"
61 const btVector3 &inertia, // inertia of base, in base frame; assumed diagonal
72 const btVector3 &inertia,
75 const btVector3 &parentComToThisPivotOffset,
76 const btVector3 &thisPivotToThisComOffset,
82 const btVector3 &inertia,
85 const btVector3 &jointAxis,
86 const btVector3 &parentComToThisPivotOffset,
87 const btVector3 &thisPivotToThisComOffset,
92 const btVector3 &inertia
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
btSolverBody.java 71 public void setDeltaLinearVelocity(btVector3 value) {
72 DynamicsJNI.btSolverBody_deltaLinearVelocity_set(swigCPtr, this, btVector3.getCPtr(value), value);
75 public btVector3 getDeltaLinearVelocity() {
77 return (cPtr == 0) ? null : new btVector3(cPtr, false);
80 public void setDeltaAngularVelocity(btVector3 value) {
81 DynamicsJNI.btSolverBody_deltaAngularVelocity_set(swigCPtr, this, btVector3.getCPtr(value), value);
84 public btVector3 getDeltaAngularVelocity() {
86 return (cPtr == 0) ? null : new btVector3(cPtr, false);
89 public void setAngularFactor(btVector3 value) {
90 DynamicsJNI.btSolverBody_angularFactor_set(swigCPtr, this, btVector3.getCPtr(value), value)
    [all...]
btTranslationalLimitMotor.java 62 public void setLowerLimit(btVector3 value) {
63 DynamicsJNI.btTranslationalLimitMotor_lowerLimit_set(swigCPtr, this, btVector3.getCPtr(value), value);
66 public btVector3 getLowerLimit() {
68 return (cPtr == 0) ? null : new btVector3(cPtr, false);
71 public void setUpperLimit(btVector3 value) {
72 DynamicsJNI.btTranslationalLimitMotor_upperLimit_set(swigCPtr, this, btVector3.getCPtr(value), value);
75 public btVector3 getUpperLimit() {
77 return (cPtr == 0) ? null : new btVector3(cPtr, false);
80 public void setAccumulatedImpulse(btVector3 value) {
81 DynamicsJNI.btTranslationalLimitMotor_accumulatedImpulse_set(swigCPtr, this, btVector3.getCPtr(value), value)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
btTriangleShapeEx.h 43 btVector3 m_points[MAX_TRI_CLIPPING];
68 btScalar margin, const btVector3 * points, int point_count);
77 btVector3 m_vertices[3];
89 btVector3 normal = (m_vertices[1]-m_vertices[0]).cross(m_vertices[2]-m_vertices[0]);
103 const btVector3 & e0 = m_vertices[edge_index];
104 const btVector3 & e1 = m_vertices[(edge_index+1)%3];
120 int clip_triangle(btPrimitiveTriangle & other, btVector3 * clipped_points );
139 btTriangleShapeEx():btTriangleShape(btVector3(0,0,0),btVector3(0,0,0),btVector3(0,0,0)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
btGeometryUtil.cpp 33 bool btGeometryUtil::isPointInsidePlanes(const btAlignedObjectArray<btVector3>& planeEquations, const btVector3& point, btScalar margin)
38 const btVector3& N1 = planeEquations[i];
50 bool btGeometryUtil::areVerticesBehindPlane(const btVector3& planeNormal, const btAlignedObjectArray<btVector3>& vertices, btScalar margin)
55 const btVector3& N1 = vertices[i];
65 bool notExist(const btVector3& planeEquation,const btAlignedObjectArray<btVector3>& planeEquations);
67 bool notExist(const btVector3& planeEquation,const btAlignedObjectArray<btVector3>& planeEquations
    [all...]

Completed in 1103 milliseconds

1 23 4 5 6 7 8 91011>>