Pathnames between #include files that are intended to be used within application code should not depend on the paths to the subdirectories being known to the compiler because this will not always be the case when an end-user includes your headers.
Includes of files in the local hierarchy must not use <...> please stick with "..."
This commit is contained in:
@@ -174,7 +174,6 @@ void DoublePrecisionDemo::displayCallback(void)
|
|||||||
objects[1].getWorldTransform().setOrigin(objects[1].getWorldTransform().getOrigin()+btVector3(-VERY_SMALL_INCREMENT,-VERY_SMALL_INCREMENT,0));
|
objects[1].getWorldTransform().setOrigin(objects[1].getWorldTransform().getOrigin()+btVector3(-VERY_SMALL_INCREMENT,-VERY_SMALL_INCREMENT,0));
|
||||||
objects[0].getWorldTransform().setOrigin(objects[0].getWorldTransform().getOrigin()+btVector3(VERY_SMALL_INCREMENT,VERY_SMALL_INCREMENT,0));
|
objects[0].getWorldTransform().setOrigin(objects[0].getWorldTransform().getOrigin()+btVector3(VERY_SMALL_INCREMENT,VERY_SMALL_INCREMENT,0));
|
||||||
|
|
||||||
float xOffset = 10.f;
|
|
||||||
float yStart = 20.f;
|
float yStart = 20.f;
|
||||||
float yIncr = 20.f;
|
float yIncr = 20.f;
|
||||||
char buf[124];
|
char buf[124];
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
#ifndef AXIS_SWEEP_3_H
|
#ifndef AXIS_SWEEP_3_H
|
||||||
#define AXIS_SWEEP_3_H
|
#define AXIS_SWEEP_3_H
|
||||||
|
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "btOverlappingPairCache.h"
|
#include "btOverlappingPairCache.h"
|
||||||
#include "btBroadphaseProxy.h"
|
#include "btBroadphaseProxy.h"
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ subject to the following restrictions:
|
|||||||
struct btDispatcherInfo;
|
struct btDispatcherInfo;
|
||||||
class btDispatcher;
|
class btDispatcher;
|
||||||
struct btBroadphaseProxy;
|
struct btBroadphaseProxy;
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
|
||||||
///BroadphaseInterface for aabb-overlapping object pairs
|
///BroadphaseInterface for aabb-overlapping object pairs
|
||||||
class btBroadphaseInterface
|
class btBroadphaseInterface
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef COLLISION_ALGORITHM_H
|
#ifndef COLLISION_ALGORITHM_H
|
||||||
#define COLLISION_ALGORITHM_H
|
#define COLLISION_ALGORITHM_H
|
||||||
|
|
||||||
#include "LinearMath/btScalar.h"
|
#include "../../LinearMath/btScalar.h"
|
||||||
|
|
||||||
struct btBroadphaseProxy;
|
struct btBroadphaseProxy;
|
||||||
class btDispatcher;
|
class btDispatcher;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef _DISPATCHER_H
|
#ifndef _DISPATCHER_H
|
||||||
#define _DISPATCHER_H
|
#define _DISPATCHER_H
|
||||||
|
|
||||||
#include "LinearMath/btScalar.h"
|
#include "../../LinearMath/btScalar.h"
|
||||||
|
|
||||||
class btCollisionAlgorithm;
|
class btCollisionAlgorithm;
|
||||||
struct btBroadphaseProxy;
|
struct btBroadphaseProxy;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#include "btBroadphaseInterface.h"
|
#include "btBroadphaseInterface.h"
|
||||||
#include "btBroadphaseProxy.h"
|
#include "btBroadphaseProxy.h"
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef SPHERE_TRIANGLE_DETECTOR_H
|
#ifndef SPHERE_TRIANGLE_DETECTOR_H
|
||||||
#define SPHERE_TRIANGLE_DETECTOR_H
|
#define SPHERE_TRIANGLE_DETECTOR_H
|
||||||
|
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h"
|
#include "../NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h"
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
|
|
||||||
|
|
||||||
class btSphereShape;
|
class btSphereShape;
|
||||||
|
|||||||
@@ -16,12 +16,12 @@ subject to the following restrictions:
|
|||||||
#ifndef COLLISION__DISPATCHER_H
|
#ifndef COLLISION__DISPATCHER_H
|
||||||
#define COLLISION__DISPATCHER_H
|
#define COLLISION__DISPATCHER_H
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btDispatcher.h"
|
#include "../BroadphaseCollision/btDispatcher.h"
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"
|
#include "../NarrowPhaseCollision/btPersistentManifold.h"
|
||||||
|
|
||||||
#include "BulletCollision/CollisionDispatch/btManifoldResult.h"
|
#include "../CollisionDispatch/btManifoldResult.h"
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
|
|
||||||
|
|
||||||
class btIDebugDraw;
|
class btIDebugDraw;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef COLLISION_OBJECT_H
|
#ifndef COLLISION_OBJECT_H
|
||||||
#define COLLISION_OBJECT_H
|
#define COLLISION_OBJECT_H
|
||||||
|
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
|
|
||||||
//island management, m_activationState1
|
//island management, m_activationState1
|
||||||
#define ACTIVE_TAG 1
|
#define ACTIVE_TAG 1
|
||||||
@@ -27,7 +27,7 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
struct btBroadphaseProxy;
|
struct btBroadphaseProxy;
|
||||||
class btCollisionShape;
|
class btCollisionShape;
|
||||||
#include "LinearMath/btMotionState.h"
|
#include "../../LinearMath/btMotionState.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -67,11 +67,11 @@ subject to the following restrictions:
|
|||||||
class btStackAlloc;
|
class btStackAlloc;
|
||||||
class btCollisionShape;
|
class btCollisionShape;
|
||||||
class btBroadphaseInterface;
|
class btBroadphaseInterface;
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "btCollisionObject.h"
|
#include "btCollisionObject.h"
|
||||||
#include "btCollisionDispatcher.h" //for definition of btCollisionObjectArray
|
#include "btCollisionDispatcher.h" //for definition of btCollisionObjectArray
|
||||||
#include "BulletCollision/BroadphaseCollision/btOverlappingPairCache.h"
|
#include "../BroadphaseCollision/btOverlappingPairCache.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|||||||
@@ -16,13 +16,13 @@ subject to the following restrictions:
|
|||||||
#ifndef COMPOUND_COLLISION_ALGORITHM_H
|
#ifndef COMPOUND_COLLISION_ALGORITHM_H
|
||||||
#define COMPOUND_COLLISION_ALGORITHM_H
|
#define COMPOUND_COLLISION_ALGORITHM_H
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h"
|
#include "../BroadphaseCollision/btCollisionAlgorithm.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btDispatcher.h"
|
#include "../BroadphaseCollision/btDispatcher.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h"
|
#include "../BroadphaseCollision/btBroadphaseInterface.h"
|
||||||
|
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"
|
#include "../NarrowPhaseCollision/btPersistentManifold.h"
|
||||||
class btDispatcher;
|
class btDispatcher;
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "btCollisionCreateFunc.h"
|
#include "btCollisionCreateFunc.h"
|
||||||
|
|
||||||
|
|||||||
@@ -16,13 +16,13 @@ subject to the following restrictions:
|
|||||||
#ifndef CONVEX_CONCAVE_COLLISION_ALGORITHM_H
|
#ifndef CONVEX_CONCAVE_COLLISION_ALGORITHM_H
|
||||||
#define CONVEX_CONCAVE_COLLISION_ALGORITHM_H
|
#define CONVEX_CONCAVE_COLLISION_ALGORITHM_H
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h"
|
#include "../BroadphaseCollision/btCollisionAlgorithm.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btDispatcher.h"
|
#include "../BroadphaseCollision/btDispatcher.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h"
|
#include "../BroadphaseCollision/btBroadphaseInterface.h"
|
||||||
#include "BulletCollision/CollisionShapes/btTriangleCallback.h"
|
#include "../CollisionShapes/btTriangleCallback.h"
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"
|
#include "../NarrowPhaseCollision/btPersistentManifold.h"
|
||||||
class btDispatcher;
|
class btDispatcher;
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
#include "btCollisionCreateFunc.h"
|
#include "btCollisionCreateFunc.h"
|
||||||
|
|
||||||
///For each triangle in the concave mesh that overlaps with the AABB of a convex (m_convexProxy), processTriangle is called.
|
///For each triangle in the concave mesh that overlaps with the AABB of a convex (m_convexProxy), processTriangle is called.
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ subject to the following restrictions:
|
|||||||
#ifndef CONVEX_CONVEX_ALGORITHM_H
|
#ifndef CONVEX_CONVEX_ALGORITHM_H
|
||||||
#define CONVEX_CONVEX_ALGORITHM_H
|
#define CONVEX_CONVEX_ALGORITHM_H
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h"
|
#include "../BroadphaseCollision/btCollisionAlgorithm.h"
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h"
|
#include "../NarrowPhaseCollision/btGjkPairDetector.h"
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"
|
#include "../NarrowPhaseCollision/btPersistentManifold.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h"
|
#include "../NarrowPhaseCollision/btVoronoiSimplexSolver.h"
|
||||||
#include "btCollisionCreateFunc.h"
|
#include "btCollisionCreateFunc.h"
|
||||||
|
|
||||||
class btConvexPenetrationDepthSolver;
|
class btConvexPenetrationDepthSolver;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#ifndef EMPTY_ALGORITH
|
#ifndef EMPTY_ALGORITH
|
||||||
#define EMPTY_ALGORITH
|
#define EMPTY_ALGORITH
|
||||||
#include "BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h"
|
#include "../BroadphaseCollision/btCollisionAlgorithm.h"
|
||||||
#include "btCollisionCreateFunc.h"
|
#include "btCollisionCreateFunc.h"
|
||||||
|
|
||||||
#define ATTRIBUTE_ALIGNED(a)
|
#define ATTRIBUTE_ALIGNED(a)
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ class btCollisionObject;
|
|||||||
class btPersistentManifold;
|
class btPersistentManifold;
|
||||||
class btManifoldPoint;
|
class btManifoldPoint;
|
||||||
|
|
||||||
#include "BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h"
|
#include "../NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h"
|
||||||
|
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
|
|
||||||
typedef bool (*ContactAddedCallback)(btManifoldPoint& cp, const btCollisionObject* colObj0,int partId0,int index0,const btCollisionObject* colObj1,int partId1,int index1);
|
typedef bool (*ContactAddedCallback)(btManifoldPoint& cp, const btCollisionObject* colObj0,int partId0,int index0,const btCollisionObject* colObj1,int partId1,int index1);
|
||||||
extern ContactAddedCallback gContactAddedCallback;
|
extern ContactAddedCallback gContactAddedCallback;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef SIMULATION_ISLAND_MANAGER_H
|
#ifndef SIMULATION_ISLAND_MANAGER_H
|
||||||
#define SIMULATION_ISLAND_MANAGER_H
|
#define SIMULATION_ISLAND_MANAGER_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionDispatch/btUnionFind.h"
|
#include "../CollisionDispatch/btUnionFind.h"
|
||||||
#include "btCollisionCreateFunc.h"
|
#include "btCollisionCreateFunc.h"
|
||||||
|
|
||||||
class btCollisionWorld;
|
class btCollisionWorld;
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ subject to the following restrictions:
|
|||||||
#ifndef SPHERE_BOX_COLLISION_ALGORITHM_H
|
#ifndef SPHERE_BOX_COLLISION_ALGORITHM_H
|
||||||
#define SPHERE_BOX_COLLISION_ALGORITHM_H
|
#define SPHERE_BOX_COLLISION_ALGORITHM_H
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h"
|
#include "../BroadphaseCollision/btCollisionAlgorithm.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
#include "BulletCollision/CollisionDispatch/btCollisionCreateFunc.h"
|
#include "../CollisionDispatch/btCollisionCreateFunc.h"
|
||||||
class btPersistentManifold;
|
class btPersistentManifold;
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
|
||||||
/// btSphereBoxCollisionAlgorithm provides sphere-box collision detection.
|
/// btSphereBoxCollisionAlgorithm provides sphere-box collision detection.
|
||||||
/// Other features are frame-coherency (persistent data) and collision response.
|
/// Other features are frame-coherency (persistent data) and collision response.
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ subject to the following restrictions:
|
|||||||
#ifndef SPHERE_SPHERE_COLLISION_ALGORITHM_H
|
#ifndef SPHERE_SPHERE_COLLISION_ALGORITHM_H
|
||||||
#define SPHERE_SPHERE_COLLISION_ALGORITHM_H
|
#define SPHERE_SPHERE_COLLISION_ALGORITHM_H
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h"
|
#include "../BroadphaseCollision/btCollisionAlgorithm.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
#include "BulletCollision/CollisionDispatch/btCollisionCreateFunc.h"
|
#include "../CollisionDispatch/btCollisionCreateFunc.h"
|
||||||
class btPersistentManifold;
|
class btPersistentManifold;
|
||||||
|
|
||||||
/// btSphereSphereCollisionAlgorithm provides sphere-sphere collision detection.
|
/// btSphereSphereCollisionAlgorithm provides sphere-sphere collision detection.
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ subject to the following restrictions:
|
|||||||
#ifndef SPHERE_TRIANGLE_COLLISION_ALGORITHM_H
|
#ifndef SPHERE_TRIANGLE_COLLISION_ALGORITHM_H
|
||||||
#define SPHERE_TRIANGLE_COLLISION_ALGORITHM_H
|
#define SPHERE_TRIANGLE_COLLISION_ALGORITHM_H
|
||||||
|
|
||||||
#include "BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h"
|
#include "../BroadphaseCollision/btCollisionAlgorithm.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
#include "BulletCollision/CollisionDispatch/btCollisionCreateFunc.h"
|
#include "../CollisionDispatch/btCollisionCreateFunc.h"
|
||||||
class btPersistentManifold;
|
class btPersistentManifold;
|
||||||
|
|
||||||
/// btSphereSphereCollisionAlgorithm provides sphere-sphere collision detection.
|
/// btSphereSphereCollisionAlgorithm provides sphere-sphere collision detection.
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ subject to the following restrictions:
|
|||||||
#define OBB_BOX_MINKOWSKI_H
|
#define OBB_BOX_MINKOWSKI_H
|
||||||
|
|
||||||
#include "btPolyhedralConvexShape.h"
|
#include "btPolyhedralConvexShape.h"
|
||||||
#include "BulletCollision/CollisionShapes/btCollisionMargin.h"
|
#include "btCollisionMargin.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
#include "LinearMath/btSimdMinMax.h"
|
#include "../../LinearMath/btSimdMinMax.h"
|
||||||
|
|
||||||
///btBoxShape implements both a feature based (vertex/edge/plane) and implicit (getSupportingVertex) Box
|
///btBoxShape implements both a feature based (vertex/edge/plane) and implicit (getSupportingVertex) Box
|
||||||
class btBoxShape: public btPolyhedralConvexShape
|
class btBoxShape: public btPolyhedralConvexShape
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef BVH_TRIANGLE_MESH_SHAPE_H
|
#ifndef BVH_TRIANGLE_MESH_SHAPE_H
|
||||||
#define BVH_TRIANGLE_MESH_SHAPE_H
|
#define BVH_TRIANGLE_MESH_SHAPE_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionShapes/btTriangleMeshShape.h"
|
#include "btTriangleMeshShape.h"
|
||||||
#include "BulletCollision/CollisionShapes/btOptimizedBvh.h"
|
#include "btOptimizedBvh.h"
|
||||||
|
|
||||||
///Bvh Concave triangle mesh is a static-triangle mesh shape with Bounding Volume Hierarchy optimization.
|
///Bvh Concave triangle mesh is a static-triangle mesh shape with Bounding Volume Hierarchy optimization.
|
||||||
///Uses an interface to access the triangles to allow for sharing graphics/physics triangles.
|
///Uses an interface to access the triangles to allow for sharing graphics/physics triangles.
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ subject to the following restrictions:
|
|||||||
#ifndef COLLISION_SHAPE_H
|
#ifndef COLLISION_SHAPE_H
|
||||||
#define COLLISION_SHAPE_H
|
#define COLLISION_SHAPE_H
|
||||||
|
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include <LinearMath/btMatrix3x3.h>
|
#include "../../LinearMath/btMatrix3x3.h"
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" //for the shape types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" //for the shape types
|
||||||
|
|
||||||
///btCollisionShape provides interface for collision shapes that can be shared among btCollisionObjects.
|
///btCollisionShape provides interface for collision shapes that can be shared among btCollisionObjects.
|
||||||
class btCollisionShape
|
class btCollisionShape
|
||||||
|
|||||||
@@ -18,12 +18,12 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#include "btCollisionShape.h"
|
#include "btCollisionShape.h"
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "LinearMath/btMatrix3x3.h"
|
#include "../../LinearMath/btMatrix3x3.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "BulletCollision/CollisionShapes/btCollisionMargin.h"
|
#include "btCollisionMargin.h"
|
||||||
#include "LinearMath/btAlignedObjectArray.h"
|
#include "../../LinearMath/btAlignedObjectArray.h"
|
||||||
|
|
||||||
class btOptimizedBvh;
|
class btOptimizedBvh;
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef CONCAVE_SHAPE_H
|
#ifndef CONCAVE_SHAPE_H
|
||||||
#define CONCAVE_SHAPE_H
|
#define CONCAVE_SHAPE_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionShapes/btCollisionShape.h"
|
#include "btCollisionShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
|
|
||||||
#include "btTriangleCallback.h"
|
#include "btTriangleCallback.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define CONE_MINKOWSKI_H
|
#define CONE_MINKOWSKI_H
|
||||||
|
|
||||||
#include "btConvexShape.h"
|
#include "btConvexShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
|
|
||||||
///btConeShape implements a Cone shape, around the Y axis
|
///btConeShape implements a Cone shape, around the Y axis
|
||||||
class btConeShape : public btConvexShape
|
class btConeShape : public btConvexShape
|
||||||
|
|||||||
@@ -17,10 +17,8 @@ subject to the following restrictions:
|
|||||||
#define CONVEX_HULL_SHAPE_H
|
#define CONVEX_HULL_SHAPE_H
|
||||||
|
|
||||||
#include "btPolyhedralConvexShape.h"
|
#include "btPolyhedralConvexShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
|
#include "../../LinearMath/btAlignedObjectArray.h"
|
||||||
|
|
||||||
#include "LinearMath/btAlignedObjectArray.h"
|
|
||||||
|
|
||||||
///ConvexHullShape implements an implicit (getSupportingVertex) Convex Hull of a Point Cloud (vertices)
|
///ConvexHullShape implements an implicit (getSupportingVertex) Convex Hull of a Point Cloud (vertices)
|
||||||
///No connectivity is needed. localGetSupportingVertex iterates linearly though all vertices.
|
///No connectivity is needed. localGetSupportingVertex iterates linearly though all vertices.
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#include "btCollisionShape.h"
|
#include "btCollisionShape.h"
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "LinearMath/btMatrix3x3.h"
|
#include "../../LinearMath/btMatrix3x3.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "BulletCollision/CollisionShapes/btCollisionMargin.h"
|
#include "btCollisionMargin.h"
|
||||||
|
|
||||||
//todo: get rid of this btConvexCastResult thing!
|
//todo: get rid of this btConvexCastResult thing!
|
||||||
struct btConvexCastResult;
|
struct btConvexCastResult;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "btPolyhedralConvexShape.h"
|
#include "btPolyhedralConvexShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ subject to the following restrictions:
|
|||||||
#define CYLINDER_MINKOWSKI_H
|
#define CYLINDER_MINKOWSKI_H
|
||||||
|
|
||||||
#include "btBoxShape.h"
|
#include "btBoxShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
|
||||||
/// implements cylinder shape interface
|
/// implements cylinder shape interface
|
||||||
class btCylinderShape : public btBoxShape
|
class btCylinderShape : public btBoxShape
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#include "btConcaveShape.h"
|
#include "btConcaveShape.h"
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "LinearMath/btMatrix3x3.h"
|
#include "../../LinearMath/btMatrix3x3.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "BulletCollision/CollisionShapes/btCollisionMargin.h"
|
#include "btCollisionMargin.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef HEIGHTFIELD_TERRAIN_SHAPE_H
|
#ifndef HEIGHTFIELD_TERRAIN_SHAPE_H
|
||||||
#define HEIGHTFIELD_TERRAIN_SHAPE_H
|
#define HEIGHTFIELD_TERRAIN_SHAPE_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionShapes/btConcaveShape.h"
|
#include "btConcaveShape.h"
|
||||||
|
|
||||||
///btHeightfieldTerrainShape simulates a 2D heightfield terrain
|
///btHeightfieldTerrainShape simulates a 2D heightfield terrain
|
||||||
class btHeightfieldTerrainShape : public btConcaveShape
|
class btHeightfieldTerrainShape : public btConcaveShape
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define MINKOWSKI_SUM_SHAPE_H
|
#define MINKOWSKI_SUM_SHAPE_H
|
||||||
|
|
||||||
#include "btConvexShape.h"
|
#include "btConvexShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
|
|
||||||
/// btMinkowskiSumShape represents implicit (getSupportingVertex) based minkowski sum of two convex implicit shapes.
|
/// btMinkowskiSumShape represents implicit (getSupportingVertex) based minkowski sum of two convex implicit shapes.
|
||||||
class btMinkowskiSumShape : public btConvexShape
|
class btMinkowskiSumShape : public btConvexShape
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define MULTI_SPHERE_MINKOWSKI_H
|
#define MULTI_SPHERE_MINKOWSKI_H
|
||||||
|
|
||||||
#include "btConvexShape.h"
|
#include "btConvexShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
|
|
||||||
#define MAX_NUM_SPHERES 5
|
#define MAX_NUM_SPHERES 5
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define OPTIMIZED_BVH_H
|
#define OPTIMIZED_BVH_H
|
||||||
|
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
|
||||||
|
|
||||||
//http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrf__m128.asp
|
//http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrf__m128.asp
|
||||||
@@ -60,8 +60,8 @@ public:
|
|||||||
virtual void processNode(const btOptimizedBvhNode* node) = 0;
|
virtual void processNode(const btOptimizedBvhNode* node) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "LinearMath/btAlignedAllocator.h"
|
#include "../../LinearMath/btAlignedAllocator.h"
|
||||||
#include "LinearMath/btAlignedObjectArray.h"
|
#include "../../LinearMath/btAlignedObjectArray.h"
|
||||||
|
|
||||||
//typedef std::vector< unsigned , allocator_type > container_type;
|
//typedef std::vector< unsigned , allocator_type > container_type;
|
||||||
const unsigned size = (1 << 20);
|
const unsigned size = (1 << 20);
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ subject to the following restrictions:
|
|||||||
#ifndef BU_SHAPE
|
#ifndef BU_SHAPE
|
||||||
#define BU_SHAPE
|
#define BU_SHAPE
|
||||||
|
|
||||||
#include <LinearMath/btPoint3.h>
|
#include "../../LinearMath/btPoint3.h"
|
||||||
#include <LinearMath/btMatrix3x3.h>
|
#include "../../LinearMath/btMatrix3x3.h"
|
||||||
#include <BulletCollision/CollisionShapes/btConvexShape.h>
|
#include "btConvexShape.h"
|
||||||
|
|
||||||
|
|
||||||
///PolyhedralConvexShape is an interface class for feature based (vertex/edge/face) convex shapes.
|
///PolyhedralConvexShape is an interface class for feature based (vertex/edge/face) convex shapes.
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define SPHERE_MINKOWSKI_H
|
#define SPHERE_MINKOWSKI_H
|
||||||
|
|
||||||
#include "btConvexShape.h"
|
#include "btConvexShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
#include "../BroadphaseCollision/btBroadphaseProxy.h" // for the types
|
||||||
|
|
||||||
///btSphereShape implements an implicit (getSupportingVertex) Sphere
|
///btSphereShape implements an implicit (getSupportingVertex) Sphere
|
||||||
class btSphereShape : public btConvexShape
|
class btSphereShape : public btConvexShape
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef STATIC_PLANE_SHAPE_H
|
#ifndef STATIC_PLANE_SHAPE_H
|
||||||
#define STATIC_PLANE_SHAPE_H
|
#define STATIC_PLANE_SHAPE_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionShapes/btConcaveShape.h"
|
#include "btConcaveShape.h"
|
||||||
|
|
||||||
|
|
||||||
///StaticPlaneShape simulates an 'infinite' plane by dynamically reporting triangles approximated by intersection of the plane with the AABB.
|
///StaticPlaneShape simulates an 'infinite' plane by dynamically reporting triangles approximated by intersection of the plane with the AABB.
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef STRIDING_MESHINTERFACE_H
|
#ifndef STRIDING_MESHINTERFACE_H
|
||||||
#define STRIDING_MESHINTERFACE_H
|
#define STRIDING_MESHINTERFACE_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "btTriangleCallback.h"
|
#include "btTriangleCallback.h"
|
||||||
|
|
||||||
/// PHY_ScalarType enumerates possible scalar types.
|
/// PHY_ScalarType enumerates possible scalar types.
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ subject to the following restrictions:
|
|||||||
#define BU_SIMPLEX_1TO4_SHAPE
|
#define BU_SIMPLEX_1TO4_SHAPE
|
||||||
|
|
||||||
|
|
||||||
#include <BulletCollision/CollisionShapes/btPolyhedralConvexShape.h>
|
#include "btPolyhedralConvexShape.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
|
|
||||||
|
|
||||||
///BU_Simplex1to4 implements feature based and implicit simplex of up to 4 vertices (tetrahedron, triangle, line, vertex).
|
///BU_Simplex1to4 implements feature based and implicit simplex of up to 4 vertices (tetrahedron, triangle, line, vertex).
|
||||||
|
|||||||
@@ -17,8 +17,7 @@ subject to the following restrictions:
|
|||||||
#define BT_TRIANGLE_BUFFER_H
|
#define BT_TRIANGLE_BUFFER_H
|
||||||
|
|
||||||
#include "btTriangleCallback.h"
|
#include "btTriangleCallback.h"
|
||||||
//#include <vector>
|
#include "../../LinearMath/btAlignedObjectArray.h"
|
||||||
#include "LinearMath/btAlignedObjectArray.h"
|
|
||||||
|
|
||||||
struct btTriangle
|
struct btTriangle
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef TRIANGLE_CALLBACK_H
|
#ifndef TRIANGLE_CALLBACK_H
|
||||||
#define TRIANGLE_CALLBACK_H
|
#define TRIANGLE_CALLBACK_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
|
||||||
|
|
||||||
class btTriangleCallback
|
class btTriangleCallback
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define BT_TRIANGLE_INDEX_VERTEX_ARRAY_H
|
#define BT_TRIANGLE_INDEX_VERTEX_ARRAY_H
|
||||||
|
|
||||||
#include "btStridingMeshInterface.h"
|
#include "btStridingMeshInterface.h"
|
||||||
#include <LinearMath/btAlignedObjectArray.h>
|
#include "../../LinearMath/btAlignedObjectArray.h"
|
||||||
|
|
||||||
///IndexedMesh indexes into existing vertex and index arrays, in a similar way OpenGL glDrawElements
|
///IndexedMesh indexes into existing vertex and index arrays, in a similar way OpenGL glDrawElements
|
||||||
///instead of the number of indices, we pass the number of triangles
|
///instead of the number of indices, we pass the number of triangles
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ subject to the following restrictions:
|
|||||||
#ifndef TRIANGLE_MESH_H
|
#ifndef TRIANGLE_MESH_H
|
||||||
#define TRIANGLE_MESH_H
|
#define TRIANGLE_MESH_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionShapes/btStridingMeshInterface.h"
|
#include "btStridingMeshInterface.h"
|
||||||
#include <LinearMath/btVector3.h>
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btAlignedObjectArray.h"
|
#include "../../LinearMath/btAlignedObjectArray.h"
|
||||||
struct btMyTriangle
|
struct btMyTriangle
|
||||||
{
|
{
|
||||||
btVector3 m_vert0;
|
btVector3 m_vert0;
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef TRIANGLE_MESH_SHAPE_H
|
#ifndef TRIANGLE_MESH_SHAPE_H
|
||||||
#define TRIANGLE_MESH_SHAPE_H
|
#define TRIANGLE_MESH_SHAPE_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionShapes/btConcaveShape.h"
|
#include "btConcaveShape.h"
|
||||||
#include "BulletCollision/CollisionShapes/btStridingMeshInterface.h"
|
#include "btStridingMeshInterface.h"
|
||||||
|
|
||||||
|
|
||||||
///Concave triangle mesh. Uses an interface to access the triangles to allow for sharing graphics/physics triangles.
|
///Concave triangle mesh. Uses an interface to access the triangles to allow for sharing graphics/physics triangles.
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define OBB_TRIANGLE_MINKOWSKI_H
|
#define OBB_TRIANGLE_MINKOWSKI_H
|
||||||
|
|
||||||
#include "btConvexShape.h"
|
#include "btConvexShape.h"
|
||||||
#include "BulletCollision/CollisionShapes/btBoxShape.h"
|
#include "btBoxShape.h"
|
||||||
|
|
||||||
class btTriangleShape : public btPolyhedralConvexShape
|
class btTriangleShape : public btPolyhedralConvexShape
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,11 +17,11 @@ subject to the following restrictions:
|
|||||||
#ifndef CONVEX_CAST_H
|
#ifndef CONVEX_CAST_H
|
||||||
#define CONVEX_CAST_H
|
#define CONVEX_CAST_H
|
||||||
|
|
||||||
#include <LinearMath/btTransform.h>
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include <LinearMath/btVector3.h>
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include <LinearMath/btScalar.h>
|
#include "../../LinearMath/btScalar.h"
|
||||||
class btMinkowskiSumShape;
|
class btMinkowskiSumShape;
|
||||||
#include "LinearMath/btIDebugDraw.h"
|
#include "../../LinearMath/btIDebugDraw.h"
|
||||||
|
|
||||||
/// btConvexCast is an interface for Casting
|
/// btConvexCast is an interface for Casting
|
||||||
class btConvexCast
|
class btConvexCast
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class btStackAlloc;
|
|||||||
class btVector3;
|
class btVector3;
|
||||||
#include "btSimplexSolverInterface.h"
|
#include "btSimplexSolverInterface.h"
|
||||||
class btConvexShape;
|
class btConvexShape;
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
class btTransform;
|
class btTransform;
|
||||||
|
|
||||||
///ConvexPenetrationDepthSolver provides an interface for penetration depth calculation.
|
///ConvexPenetrationDepthSolver provides an interface for penetration depth calculation.
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#ifndef DISCRETE_COLLISION_DETECTOR1_INTERFACE_H
|
#ifndef DISCRETE_COLLISION_DETECTOR1_INTERFACE_H
|
||||||
#define DISCRETE_COLLISION_DETECTOR1_INTERFACE_H
|
#define DISCRETE_COLLISION_DETECTOR1_INTERFACE_H
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
class btStackAlloc;
|
class btStackAlloc;
|
||||||
|
|
||||||
/// This interface is made to be used by an iterative approach to do TimeOfImpact calculations
|
/// This interface is made to be used by an iterative approach to do TimeOfImpact calculations
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ subject to the following restrictions:
|
|||||||
#ifndef GJK_CONVEX_CAST_H
|
#ifndef GJK_CONVEX_CAST_H
|
||||||
#define GJK_CONVEX_CAST_H
|
#define GJK_CONVEX_CAST_H
|
||||||
|
|
||||||
#include <BulletCollision/CollisionShapes/btCollisionMargin.h>
|
#include "../CollisionShapes/btCollisionMargin.h"
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "btConvexCast.h"
|
#include "btConvexCast.h"
|
||||||
class btConvexShape;
|
class btConvexShape;
|
||||||
class btMinkowskiSumShape;
|
class btMinkowskiSumShape;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Nov.2006
|
|||||||
|
|
||||||
#ifndef _05E48D53_04E0_49ad_BB0A_D74FE62E7366_
|
#ifndef _05E48D53_04E0_49ad_BB0A_D74FE62E7366_
|
||||||
#define _05E48D53_04E0_49ad_BB0A_D74FE62E7366_
|
#define _05E48D53_04E0_49ad_BB0A_D74FE62E7366_
|
||||||
#include "BulletCollision/CollisionShapes/btConvexShape.h"
|
#include "../CollisionShapes/btConvexShape.h"
|
||||||
|
|
||||||
class btStackAlloc;
|
class btStackAlloc;
|
||||||
|
|
||||||
|
|||||||
@@ -20,9 +20,8 @@ subject to the following restrictions:
|
|||||||
#define GJK_PAIR_DETECTOR_H
|
#define GJK_PAIR_DETECTOR_H
|
||||||
|
|
||||||
#include "btDiscreteCollisionDetectorInterface.h"
|
#include "btDiscreteCollisionDetectorInterface.h"
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
|
#include "../CollisionShapes/btCollisionMargin.h"
|
||||||
#include <BulletCollision/CollisionShapes/btCollisionMargin.h>
|
|
||||||
|
|
||||||
class btConvexShape;
|
class btConvexShape;
|
||||||
#include "btSimplexSolverInterface.h"
|
#include "btSimplexSolverInterface.h"
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef MANIFOLD_CONTACT_POINT_H
|
#ifndef MANIFOLD_CONTACT_POINT_H
|
||||||
#define MANIFOLD_CONTACT_POINT_H
|
#define MANIFOLD_CONTACT_POINT_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btTransformUtil.h"
|
#include "../../LinearMath/btTransformUtil.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ subject to the following restrictions:
|
|||||||
#define PERSISTENT_MANIFOLD_H
|
#define PERSISTENT_MANIFOLD_H
|
||||||
|
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "btManifoldPoint.h"
|
#include "btManifoldPoint.h"
|
||||||
|
|
||||||
struct btCollisionResult;
|
struct btCollisionResult;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef RAYCAST_TRI_CALLBACK_H
|
#ifndef RAYCAST_TRI_CALLBACK_H
|
||||||
#define RAYCAST_TRI_CALLBACK_H
|
#define RAYCAST_TRI_CALLBACK_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionShapes/btTriangleCallback.h"
|
#include "../CollisionShapes/btTriangleCallback.h"
|
||||||
struct btBroadphaseProxy;
|
struct btBroadphaseProxy;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ subject to the following restrictions:
|
|||||||
#ifndef SIMPLEX_SOLVER_INTERFACE_H
|
#ifndef SIMPLEX_SOLVER_INTERFACE_H
|
||||||
#define SIMPLEX_SOLVER_INTERFACE_H
|
#define SIMPLEX_SOLVER_INTERFACE_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btPoint3.h"
|
#include "../../LinearMath/btPoint3.h"
|
||||||
|
|
||||||
#define NO_VIRTUAL_INTERFACE 1
|
#define NO_VIRTUAL_INTERFACE 1
|
||||||
#ifdef NO_VIRTUAL_INTERFACE
|
#ifdef NO_VIRTUAL_INTERFACE
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef CONSTRAINT_SOLVER_H
|
#ifndef CONSTRAINT_SOLVER_H
|
||||||
#define CONSTRAINT_SOLVER_H
|
#define CONSTRAINT_SOLVER_H
|
||||||
|
|
||||||
#include "LinearMath/btScalar.h"
|
#include "../../LinearMath/btScalar.h"
|
||||||
|
|
||||||
class btPersistentManifold;
|
class btPersistentManifold;
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ subject to the following restrictions:
|
|||||||
//todo: make into a proper class working with the iterative constraint solver
|
//todo: make into a proper class working with the iterative constraint solver
|
||||||
|
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btScalar.h"
|
#include "../../LinearMath/btScalar.h"
|
||||||
struct btContactSolverInfo;
|
struct btContactSolverInfo;
|
||||||
class btManifoldPoint;
|
class btManifoldPoint;
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef GENERIC_6DOF_CONSTRAINT_H
|
#ifndef GENERIC_6DOF_CONSTRAINT_H
|
||||||
#define GENERIC_6DOF_CONSTRAINT_H
|
#define GENERIC_6DOF_CONSTRAINT_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
#include "btJacobianEntry.h"
|
||||||
#include "BulletDynamics/ConstraintSolver/btJacobianEntry.h"
|
|
||||||
#include "btTypedConstraint.h"
|
#include "btTypedConstraint.h"
|
||||||
|
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
|
|||||||
@@ -16,9 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef HINGECONSTRAINT_H
|
#ifndef HINGECONSTRAINT_H
|
||||||
#define HINGECONSTRAINT_H
|
#define HINGECONSTRAINT_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
#include "btJacobianEntry.h"
|
||||||
#include "BulletDynamics/ConstraintSolver/btJacobianEntry.h"
|
|
||||||
#include "btTypedConstraint.h"
|
#include "btTypedConstraint.h"
|
||||||
|
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef JACOBIAN_ENTRY_H
|
#ifndef JACOBIAN_ENTRY_H
|
||||||
#define JACOBIAN_ENTRY_H
|
#define JACOBIAN_ENTRY_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "BulletDynamics/Dynamics/btRigidBody.h"
|
#include "../Dynamics/btRigidBody.h"
|
||||||
|
|
||||||
|
|
||||||
//notes:
|
//notes:
|
||||||
|
|||||||
@@ -16,9 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef POINT2POINTCONSTRAINT_H
|
#ifndef POINT2POINTCONSTRAINT_H
|
||||||
#define POINT2POINTCONSTRAINT_H
|
#define POINT2POINTCONSTRAINT_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
#include "btJacobianEntry.h"
|
||||||
#include "BulletDynamics/ConstraintSolver/btJacobianEntry.h"
|
|
||||||
#include "btTypedConstraint.h"
|
#include "btTypedConstraint.h"
|
||||||
|
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#include "btConstraintSolver.h"
|
#include "btConstraintSolver.h"
|
||||||
class btIDebugDraw;
|
class btIDebugDraw;
|
||||||
|
|
||||||
#include "btContactConstraint.h"
|
#include "btContactConstraint.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ subject to the following restrictions:
|
|||||||
#ifndef SOLVE_2LINEAR_CONSTRAINT_H
|
#ifndef SOLVE_2LINEAR_CONSTRAINT_H
|
||||||
#define SOLVE_2LINEAR_CONSTRAINT_H
|
#define SOLVE_2LINEAR_CONSTRAINT_H
|
||||||
|
|
||||||
#include "LinearMath/btMatrix3x3.h"
|
#include "../../LinearMath/btMatrix3x3.h"
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
|
||||||
|
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#define TYPED_CONSTRAINT_H
|
#define TYPED_CONSTRAINT_H
|
||||||
|
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
#include "LinearMath/btScalar.h"
|
#include "../../LinearMath/btScalar.h"
|
||||||
|
|
||||||
///TypedConstraint is the baseclass for Bullet constraints and vehicles
|
///TypedConstraint is the baseclass for Bullet constraints and vehicles
|
||||||
class btTypedConstraint
|
class btTypedConstraint
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class btOverlappingPairCache;
|
|||||||
class btConstraintSolver;
|
class btConstraintSolver;
|
||||||
class btSimulationIslandManager;
|
class btSimulationIslandManager;
|
||||||
class btTypedConstraint;
|
class btTypedConstraint;
|
||||||
#include "BulletDynamics/ConstraintSolver/btContactSolverInfo.h"
|
#include "../ConstraintSolver/btContactSolverInfo.h"
|
||||||
|
|
||||||
class btRaycastVehicle;
|
class btRaycastVehicle;
|
||||||
class btIDebugDraw;
|
class btIDebugDraw;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef BT_DYNAMICS_WORLD_H
|
#ifndef BT_DYNAMICS_WORLD_H
|
||||||
#define BT_DYNAMICS_WORLD_H
|
#define BT_DYNAMICS_WORLD_H
|
||||||
|
|
||||||
#include "BulletCollision/CollisionDispatch/btCollisionWorld.h"
|
#include "../../BulletCollision/CollisionDispatch/btCollisionWorld.h"
|
||||||
class btTypedConstraint;
|
class btTypedConstraint;
|
||||||
class btRaycastVehicle;
|
class btRaycastVehicle;
|
||||||
class btConstraintSolver;
|
class btConstraintSolver;
|
||||||
|
|||||||
@@ -17,12 +17,10 @@ subject to the following restrictions:
|
|||||||
#define RIGIDBODY_H
|
#define RIGIDBODY_H
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <LinearMath/btPoint3.h>
|
#include "../../LinearMath/btPoint3.h"
|
||||||
#include <LinearMath/btTransform.h>
|
#include "../../LinearMath/btTransform.h"
|
||||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
#include "../../BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
||||||
|
#include "../../BulletCollision/CollisionDispatch/btCollisionObject.h"
|
||||||
|
|
||||||
#include "BulletCollision/CollisionDispatch/btCollisionObject.h"
|
|
||||||
|
|
||||||
class btCollisionShape;
|
class btCollisionShape;
|
||||||
class btMotionState;
|
class btMotionState;
|
||||||
|
|||||||
@@ -11,11 +11,11 @@
|
|||||||
#ifndef RAYCASTVEHICLE_H
|
#ifndef RAYCASTVEHICLE_H
|
||||||
#define RAYCASTVEHICLE_H
|
#define RAYCASTVEHICLE_H
|
||||||
|
|
||||||
#include "BulletDynamics/Dynamics/btRigidBody.h"
|
#include "../Dynamics/btRigidBody.h"
|
||||||
#include "BulletDynamics/ConstraintSolver/btTypedConstraint.h"
|
#include "../ConstraintSolver/btTypedConstraint.h"
|
||||||
#include "btVehicleRaycaster.h"
|
#include "btVehicleRaycaster.h"
|
||||||
class btDynamicsWorld;
|
class btDynamicsWorld;
|
||||||
#include "LinearMath/btAlignedObjectArray.h"
|
#include "../../LinearMath/btAlignedObjectArray.h"
|
||||||
#include "btWheelInfo.h"
|
#include "btWheelInfo.h"
|
||||||
|
|
||||||
class btVehicleTuning;
|
class btVehicleTuning;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#ifndef VEHICLE_RAYCASTER_H
|
#ifndef VEHICLE_RAYCASTER_H
|
||||||
#define VEHICLE_RAYCASTER_H
|
#define VEHICLE_RAYCASTER_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
|
|
||||||
/// btVehicleRaycaster is provides interface for between vehicle simulation and raycasting
|
/// btVehicleRaycaster is provides interface for between vehicle simulation and raycasting
|
||||||
struct btVehicleRaycaster
|
struct btVehicleRaycaster
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
#ifndef WHEEL_INFO_H
|
#ifndef WHEEL_INFO_H
|
||||||
#define WHEEL_INFO_H
|
#define WHEEL_INFO_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "../../LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btTransform.h"
|
#include "../../LinearMath/btTransform.h"
|
||||||
|
|
||||||
class btRigidBody;
|
class btRigidBody;
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ subject to the following restrictions:
|
|||||||
#ifndef AABB_UTIL2
|
#ifndef AABB_UTIL2
|
||||||
#define AABB_UTIL2
|
#define AABB_UTIL2
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "btVector3.h"
|
||||||
#include "LinearMath/btSimdMinMax.h"
|
#include "btSimdMinMax.h"
|
||||||
|
|
||||||
|
|
||||||
#define btMin(a,b) ((a < b ? a : b))
|
#define btMin(a,b) ((a < b ? a : b))
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ DEALINGS IN THE SOFTWARE.
|
|||||||
#ifndef IDEBUG_DRAW__H
|
#ifndef IDEBUG_DRAW__H
|
||||||
#define IDEBUG_DRAW__H
|
#define IDEBUG_DRAW__H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "btVector3.h"
|
||||||
|
|
||||||
|
|
||||||
class btIDebugDraw
|
class btIDebugDraw
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ subject to the following restrictions:
|
|||||||
#ifndef btMatrix3x3_H
|
#ifndef btMatrix3x3_H
|
||||||
#define btMatrix3x3_H
|
#define btMatrix3x3_H
|
||||||
|
|
||||||
#include "LinearMath/btScalar.h"
|
#include "btScalar.h"
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "btVector3.h"
|
||||||
#include "LinearMath/btQuaternion.h"
|
#include "btQuaternion.h"
|
||||||
|
|
||||||
|
|
||||||
class btMatrix3x3 {
|
class btMatrix3x3 {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef BT_MOTIONSTATE_H
|
#ifndef BT_MOTIONSTATE_H
|
||||||
#define BT_MOTIONSTATE_H
|
#define BT_MOTIONSTATE_H
|
||||||
|
|
||||||
#include "LinearMath/btTransform.h"
|
#include "btTransform.h"
|
||||||
|
|
||||||
///btMotionState allows the dynamics world to synchronize the updated world transforms with graphics
|
///btMotionState allows the dynamics world to synchronize the updated world transforms with graphics
|
||||||
///For optimizations, potentially only moving objects get synchronized (using setWorldPosition/setWorldOrientation)
|
///For optimizations, potentially only moving objects get synchronized (using setWorldPosition/setWorldOrientation)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#ifndef btPoint3_H
|
#ifndef btPoint3_H
|
||||||
#define btPoint3_H
|
#define btPoint3_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "btVector3.h"
|
||||||
|
|
||||||
typedef btVector3 btPoint3;
|
typedef btVector3 btPoint3;
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef SIMD_QUADWORD_H
|
#ifndef SIMD_QUADWORD_H
|
||||||
#define SIMD_QUADWORD_H
|
#define SIMD_QUADWORD_H
|
||||||
|
|
||||||
#include "LinearMath/btScalar.h"
|
#include "btScalar.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ subject to the following restrictions:
|
|||||||
#ifndef SIMD__QUATERNION_H_
|
#ifndef SIMD__QUATERNION_H_
|
||||||
#define SIMD__QUATERNION_H_
|
#define SIMD__QUATERNION_H_
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "btVector3.h"
|
||||||
|
|
||||||
class btQuaternion : public btQuadWord {
|
class btQuaternion : public btQuadWord {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#ifndef SIMD_MINMAX_H
|
#ifndef SIMD_MINMAX_H
|
||||||
#define SIMD_MINMAX_H
|
#define SIMD_MINMAX_H
|
||||||
#include "LinearMath/btScalar.h"
|
#include "btScalar.h"
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
SIMD_FORCE_INLINE const T& btMin(const T& a, const T& b) {
|
SIMD_FORCE_INLINE const T& btMin(const T& a, const T& b) {
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ subject to the following restrictions:
|
|||||||
#ifndef btTransform_H
|
#ifndef btTransform_H
|
||||||
#define btTransform_H
|
#define btTransform_H
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "btVector3.h"
|
||||||
#include "LinearMath/btMatrix3x3.h"
|
#include "btMatrix3x3.h"
|
||||||
|
|
||||||
|
|
||||||
///btTransform supports rigid transforms (only translation and rotation, no scaling/shear)
|
///btTransform supports rigid transforms (only translation and rotation, no scaling/shear)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
|||||||
#ifndef SIMD_TRANSFORM_UTIL_H
|
#ifndef SIMD_TRANSFORM_UTIL_H
|
||||||
#define SIMD_TRANSFORM_UTIL_H
|
#define SIMD_TRANSFORM_UTIL_H
|
||||||
|
|
||||||
#include "LinearMath/btTransform.h"
|
#include "btTransform.h"
|
||||||
#define ANGULAR_MOTION_THRESHOLD btScalar(0.5)*SIMD_HALF_PI
|
#define ANGULAR_MOTION_THRESHOLD btScalar(0.5)*SIMD_HALF_PI
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user