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

1 2 3 4 5 6 7 8 91011>>

  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
btSimpleBroadphase.cpp 20 #include "LinearMath/btVector3.h"
87 btBroadphaseProxy* btSimpleBroadphase::createProxy( const btVector3& aabbMin, const btVector3& aabbMax,int shapeType,void* userPtr ,short int collisionFilterGroup,short int collisionFilterMask, btDispatcher* /*dispatcher*/,void* multiSapProxy)
143 void btSimpleBroadphase::getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const
150 void btSimpleBroadphase::setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax, btDispatcher* /*dispatcher*/)
157 void btSimpleBroadphase::rayTest(const btVector3& rayFrom,const btVector3& rayTo, btBroadphaseRayCallback& rayCallback, const btVector3& aabbMin,const btVector3& aabbMax
    [all...]
btQuantizedBvh.cpp 80 btVector3 color[4]=
82 btVector3(1,0,0),
83 btVector3(0,1,0),
84 btVector3(0,0,1),
85 btVector3(0,1,1)
91 void btQuantizedBvh::setQuantizationValues(const btVector3& bvhAabbMin,const btVector3& bvhAabbMax,btScalar quantizationMargin)
94 btVector3 clampValue(quantizationMargin,quantizationMargin,quantizationMargin);
97 btVector3 aabbSize = m_bvhAabbMax - m_bvhAabbMin;
98 m_bvhQuantization = btVector3(btScalar(65533.0),btScalar(65533.0),btScalar(65533.0)) / aabbSize
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
btGjkPairDetector.h 34 btVector3 m_cachedSeparatingAxis;
75 void setCachedSeperatingAxis(const btVector3& seperatingAxis)
80 const btVector3& getCachedSeparatingAxis() const
btGjkConvexCast.cpp 50 btVector3 linVelA,linVelB;
56 btVector3 v(1,0,0);
60 btVector3 n;
63 btVector3 c;
64 btVector3 r = (linVelA-linVelB);
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
btCollisionWorld.cpp 124 btVector3 minAabb;
125 btVector3 maxAabb;
149 btVector3 minAabb,maxAabb;
152 btVector3 contactThreshold(gContactBreakingThreshold,gContactBreakingThreshold,gContactBreakingThreshold);
158 btVector3 minAabb2,maxAabb2;
346 BridgeTriangleRaycastCallback( const btVector3& from,const btVector3& to,
358 virtual btScalar reportHit(const btVector3& hitNormalLocal, btScalar hitFraction, int partId, int triangleIndex )
364 btVector3 hitNormalWorld = m_colObjWorldTransform.getBasis() * hitNormalLocal;
379 btVector3 rayFromLocal = worldTocollisionObject * rayFromTrans.getOrigin()
    [all...]
btGhostObject.cpp 107 btVector3 castShapeAabbMin, castShapeAabbMax;
110 btVector3 linVel, angVel;
127 btVector3 collisionObjectAabbMin,collisionObjectAabbMax;
131 btVector3 hitNormal;
146 void btGhostObject::rayTest(const btVector3& rayFromWorld, const btVector3& rayToWorld, btCollisionWorld::RayResultCallback& resultCallback) const
btSphereSphereCollisionAlgorithm.cpp 55 btVector3 diff = col0Wrap->getWorldTransform().getOrigin()- col1Wrap->getWorldTransform().getOrigin();
75 btVector3 normalOnSurfaceB(1,0,0);
82 ///btVector3 pos0 = col0->getWorldTransform().getOrigin() - radius0 * normalOnSurfaceB;
84 btVector3 pos1 = col1Wrap->getWorldTransform().getOrigin() + radius1* normalOnSurfaceB;
btCollisionObject.h 61 btVector3 m_interpolationLinearVelocity;
62 btVector3 m_interpolationAngularVelocity;
64 btVector3 m_anisotropicFriction;
159 const btVector3& getAnisotropicFriction() const
163 void setAnisotropicFriction(const btVector3& anisotropicFriction, int frictionMode = CF_ANISOTROPIC_FRICTION)
376 void setInterpolationLinearVelocity(const btVector3& linvel)
382 void setInterpolationAngularVelocity(const btVector3& angvel)
388 const btVector3& getInterpolationLinearVelocity() const
393 const btVector3& getInterpolationAngularVelocity() const
  /external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/
btIDebugDraw.java 118 public void setActiveObject(btVector3 value) {
119 LinearMathJNI.btIDebugDraw_DefaultColors_activeObject_set(swigCPtr, this, btVector3.getCPtr(value), value);
122 public btVector3 getActiveObject() {
124 return (cPtr == 0) ? null : new btVector3(cPtr, false);
127 public void setDeactivatedObject(btVector3 value) {
128 LinearMathJNI.btIDebugDraw_DefaultColors_deactivatedObject_set(swigCPtr, this, btVector3.getCPtr(value), value);
131 public btVector3 getDeactivatedObject() {
133 return (cPtr == 0) ? null : new btVector3(cPtr, false);
136 public void setWantsDeactivationObject(btVector3 value) {
137 LinearMathJNI.btIDebugDraw_DefaultColors_wantsDeactivationObject_set(swigCPtr, this, btVector3.getCPtr(value), value)
    [all...]
LinearMathJNI.java 96 public final static native void btVector3_floats_set(long jarg1, btVector3 jarg1_, float[] jarg2);
97 public final static native float[] btVector3_floats_get(long jarg1, btVector3 jarg1_);
100 public final static native float btVector3_dot(long jarg1, btVector3 jarg1_, Vector3 jarg2);
101 public final static native float btVector3_length2(long jarg1, btVector3 jarg1_);
102 public final static native float btVector3_length(long jarg1, btVector3 jarg1_);
103 public final static native float btVector3_norm(long jarg1, btVector3 jarg1_);
104 public final static native float btVector3_distance2(long jarg1, btVector3 jarg1_, Vector3 jarg2);
105 public final static native float btVector3_distance(long jarg1, btVector3 jarg1_, Vector3 jarg2);
106 public final static native Vector3 btVector3_safeNormalize(long jarg1, btVector3 jarg1_);
107 public final static native Vector3 btVector3_normalize(long jarg1, btVector3 jarg1_)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
btSoftRigidDynamicsWorld.cpp 57 m_sbi.water_normal = btVector3(0,0,0);
189 btVector3 m_rayFromWorld;
190 btVector3 m_rayToWorld;
193 btVector3 m_hitNormal;
198 btSoftSingleRayCallback(const btVector3& rayFromWorld,const btVector3& rayToWorld,const btSoftRigidDynamicsWorld* world,btCollisionWorld::RayResultCallback& resultCallback)
209 btVector3 rayDir = (rayToWorld-rayFromWorld);
238 //btVector3 collisionObjectAabbMin,collisionObjectAabbMax;
241 btVector3 collisionObjectAabbMin,collisionObjectAabbMax;
245 const btVector3& collisionObjectAabbMin = collisionObject->getBroadphaseHandle()->m_aabbMin
    [all...]
btSoftBodyConcaveCollisionAlgorithm.cpp 89 void btSoftBodyTriangleCallback::processTriangle(btVector3* triangle,int partId, int triangleIndex)
100 btVector3 color(1,1,0);
139 // btVector3 other;
140 btVector3 normal = (triangle[1]-triangle[0]).cross(triangle[2]-triangle[0]);
145 btVector3 pts[6] = {triangle[0]+normal,
191 btVector3 aabbWorldSpaceMin,aabbWorldSpaceMax;
193 btVector3 halfExtents = (aabbWorldSpaceMax-aabbWorldSpaceMin)*btScalar(0.5);
194 btVector3 softBodyCenter = (aabbWorldSpaceMax+aabbWorldSpaceMin)*btScalar(0.5);
262 //const btVector3& from = convexbody->m_worldTransform.getOrigin();
263 //btVector3 to = convexbody->m_interpolationWorldTransform.getOrigin()
    [all...]
btSoftBody.cpp 24 btSoftBody::btSoftBody(btSoftBodyWorldInfo* worldInfo,int node_count, const btVector3* x, const btScalar* m)
44 n.m_x = x?*x++:btVector3(0,0,0);
94 m_pose.m_com = btVector3(0,0,0);
100 m_bounds[0] = btVector3(0,0,0);
101 m_bounds[1] = btVector3(0,0,0);
112 m_windVelocity = btVector3(0,0,0);
187 const btVector3& o,
212 const btVector3& o,
220 const btVector3& o,
230 const btVector3& o
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
btSpatialAlgebra.h 26 btVector3 m_topVec, m_bottomVec;
29 btSpatialForceVector(const btVector3 &angular, const btVector3 &linear) : m_topVec(linear), m_bottomVec(angular) {}
35 void setVector(const btVector3 &angular, const btVector3 &linear) { m_topVec = linear; m_bottomVec = angular; }
41 void addVector(const btVector3 &angular, const btVector3 &linear) { m_topVec += linear; m_bottomVec += angular; }
48 const btVector3 & getLinear() const { return m_topVec; }
49 const btVector3 & getAngular() const { return m_bottomVec; }
51 void setLinear(const btVector3 &linear) { m_topVec = linear;
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Vehicle/
btRaycastVehicle.cpp 12 #include "LinearMath/btVector3.h"
31 s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.),btScalar(0.),btScalar(0.)));
65 btWheelInfo& btRaycastVehicle::addWheel( const btVector3& connectionPointCS, const btVector3& wheelDirectionCS0,const btVector3& wheelAxleCS, btScalar suspensionRestLength, btScalar wheelRadius,const btVehicleTuning& tuning, bool isFrontWheel)
108 btVector3 up = -wheel.m_raycastInfo.m_wheelDirectionWS;
109 const btVector3& right = wheel.m_raycastInfo.m_wheelAxleWS;
110 btVector3 fwd = up.cross(right);
176 btVector3 rayvector = wheel.m_raycastInfo.m_wheelDirectionWS * (raylen);
177 const btVector3& source = wheel.m_raycastInfo.m_hardPointWS
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
btWorldImporter.h 21 #include "LinearMath/btVector3.h"
154 virtual void setDynamicsWorldInfo(const btVector3& gravity, const btContactSolverInfo& solverInfo);
162 virtual btCollisionShape* createPlaneShape(const btVector3& planeNormal,btScalar planeConstant);
163 virtual btCollisionShape* createBoxShape(const btVector3& halfExtents);
183 virtual class btScaledBvhTriangleMeshShape* createScaledTrangleMeshShape(btBvhTriangleMeshShape* meshShape,const btVector3& localScalingbtBvhTriangleMeshShape);
185 virtual class btMultiSphereShape* createMultiSphereShape(const btVector3* positions,const btScalar* radi,int numSpheres);
194 virtual btPoint2PointConstraint* createPoint2PointConstraint(btRigidBody& rbA,btRigidBody& rbB, const btVector3& pivotInA,const btVector3& pivotInB);
195 virtual btPoint2PointConstraint* createPoint2PointConstraint(btRigidBody& rbA,const btVector3& pivotInA);
207 virtual btGearConstraint* createGearConstraint(btRigidBody& rbA, btRigidBody& rbB, const btVector3& axisInA,const btVector3& axisInB, btScalar ratio)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
btSoftBody.java 666 public void setNormal(btVector3 value) {
667 SoftbodyJNI.btSoftBody_sCti_normal_set(swigCPtr, this, btVector3.getCPtr(value), value);
670 public btVector3 getNormal() {
672 return (cPtr == 0) ? null : new btVector3(cPtr, false);
732 public void setVelocity(btVector3 value) {
733 SoftbodyJNI.btSoftBody_sMedium_velocity_set(swigCPtr, this, btVector3.getCPtr(value), value);
736 public btVector3 getVelocity() {
738 return (cPtr == 0) ? null : new btVector3(cPtr, false);
1002 public void setX(btVector3 value) {
1003 SoftbodyJNI.btSoftBody_Node_x_set(swigCPtr, this, btVector3.getCPtr(value), value)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
btSliderConstraint.h 36 #include "LinearMath/btVector3.h"
136 btVector3 m_sliderAxis;
137 btVector3 m_realPivotAInW;
138 btVector3 m_realPivotBInW;
139 btVector3 m_projPivotInW;
140 btVector3 m_delta;
141 btVector3 m_depth;
142 btVector3 m_relPosA;
143 btVector3 m_relPosB;
178 void getInfo2NonVirtual(btConstraintInfo2* info, const btTransform& transA, const btTransform& transB,const btVector3& linVelA,const btVector3& linVelB, btScalar rbAinvMass,btScalar rbBinvMass)
    [all...]
btGeneric6DofSpring2Constraint.cpp 81 bool btGeneric6DofSpring2Constraint::matrixToEulerXYZ(const btMatrix3x3& mat,btVector3& xyz)
116 bool btGeneric6DofSpring2Constraint::matrixToEulerXZY(const btMatrix3x3& mat,btVector3& xyz)
149 bool btGeneric6DofSpring2Constraint::matrixToEulerYXZ(const btMatrix3x3& mat,btVector3& xyz)
182 bool btGeneric6DofSpring2Constraint::matrixToEulerYZX(const btMatrix3x3& mat,btVector3& xyz)
215 bool btGeneric6DofSpring2Constraint::matrixToEulerZXY(const btMatrix3x3& mat,btVector3& xyz)
248 bool btGeneric6DofSpring2Constraint::matrixToEulerZYX(const btMatrix3x3& mat,btVector3& xyz)
329 btVector3 axis0 = m_calculatedTransformB.getBasis().getColumn(0);
330 btVector3 axis2 = m_calculatedTransformA.getBasis().getColumn(2);
342 btVector3 axis0 = m_calculatedTransformB.getBasis().getColumn(0);
343 btVector3 axis1 = m_calculatedTransformA.getBasis().getColumn(1)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
btMultiBodyConstraint.h 34 btAlignedObjectArray<btVector3> scratch_v;
73 const btVector3& contactNormalOnB,
74 const btVector3& posAworld, const btVector3& posBworld,
  /external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
BT_BOX_BOX_TRANSFORM_CACHE.java 61 public void setT1to0(btVector3 value) {
62 CollisionJNI.BT_BOX_BOX_TRANSFORM_CACHE_T1to0_set(swigCPtr, this, btVector3.getCPtr(value), value);
65 public btVector3 getT1to0() {
67 return (cPtr == 0) ? null : new btVector3(cPtr, false);
LocalRayResult.java 82 public void setHitNormalLocal(btVector3 value) {
83 CollisionJNI.LocalRayResult_hitNormalLocal_set(swigCPtr, this, btVector3.getCPtr(value), value);
86 public btVector3 getHitNormalLocal() {
88 return (cPtr == 0) ? null : new btVector3(cPtr, false);
btConvexHullShape.java 100 public btVector3 getUnscaledPoints() {
102 return (cPtr == 0) ? null : new btVector3(cPtr, false);
105 public btVector3 getPoints() {
107 return (cPtr == 0) ? null : new btVector3(cPtr, false);
btConvexShape.java 89 public void batchedUnitVectorGetSupportingVertexWithoutMargin(btVector3 vectors, btVector3 supportVerticesOut, int numVectors) {
90 CollisionJNI.btConvexShape_batchedUnitVectorGetSupportingVertexWithoutMargin(swigCPtr, this, btVector3.getCPtr(vectors), vectors, btVector3.getCPtr(supportVerticesOut), supportVerticesOut, numVectors);
btSubSimplexClosestResult.java 61 public void setClosestPointOnSimplex(btVector3 value) {
62 CollisionJNI.btSubSimplexClosestResult_closestPointOnSimplex_set(swigCPtr, this, btVector3.getCPtr(value), value);
65 public btVector3 getClosestPointOnSimplex() {
67 return (cPtr == 0) ? null : new btVector3(cPtr, false);

Completed in 4725 milliseconds

1 2 3 4 5 6 7 8 91011>>