mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-10 17:30:12 +00:00
moved/updated projectfiles for new BulletSoftBody library
This commit is contained in:
parent
5024d06366
commit
3df41a478d
@ -76,9 +76,6 @@ ADD_EXECUTABLE(AllBulletDemos
|
||||
../GjkConvexCastDemo/LinearConvexCastDemo.cpp
|
||||
../VehicleDemo/VehicleDemo.cpp
|
||||
../SoftDemo/SoftDemo.cpp
|
||||
../SoftDemo/btSoftBodyRigidBodyCollisionConfiguration.cpp
|
||||
../SoftDemo/btSoftSoftCollisionAlgorithm.cpp
|
||||
../SoftDemo/btSoftRigidCollisionAlgorithm.cpp
|
||||
../ConstraintDemo/ConstraintDemo.cpp
|
||||
)
|
||||
|
||||
|
@ -20,6 +20,19 @@ if $(GLUT.AVAILABLE) = "yes"
|
||||
}
|
||||
}
|
||||
|
||||
rule BulletSoftBodyDemo
|
||||
{
|
||||
Application $(<) : $(>) : noinstall console nomanifest ;
|
||||
LinkWith $(<) : bulletopenglsupport bulletsoftbody bulletdynamics bulletcollision bulletmath ;
|
||||
CFlags $(<) :
|
||||
[ FIncludes $(TOP)/src ]
|
||||
[ FIncludes $(TOP)/Demos/OpenGL ]
|
||||
;
|
||||
MsvcIncDirs $(<) :
|
||||
"../../Demos/OpenGL"
|
||||
"../../src" ;
|
||||
}
|
||||
|
||||
rule BulletBasicDemo
|
||||
{
|
||||
Application $(<) : $(>) : noinstall console nomanifest ;
|
||||
@ -37,7 +50,7 @@ if $(GLUT.AVAILABLE) = "yes"
|
||||
rule FrameWorkDemo
|
||||
{
|
||||
Application $(<) : $(>) : noinstall console nomanifest ;
|
||||
LinkWith $(<) : GIMPACTUtils GIMPACT bulletopenglsupport convexdecomposition bulletdynamics bulletcollision bulletmath glui ;
|
||||
LinkWith $(<) : GIMPACTUtils GIMPACT bulletopenglsupport bulletsoftbody convexdecomposition bulletdynamics bulletcollision bulletmath glui ;
|
||||
CFlags $(<) :
|
||||
[ FIncludes $(TOP)/Extras ]
|
||||
[ FIncludes $(TOP)/Demos/OpenGL ]
|
||||
|
@ -1,3 +1,3 @@
|
||||
SubDir TOP Demos SoftDemo ;
|
||||
|
||||
BulletDemo SoftBodyDemo : [ Wildcard *.h *.cpp ] ;
|
||||
BulletSoftBodyDemo SoftBodyDemo : [ Wildcard *.h *.cpp ] ;
|
||||
|
@ -17,7 +17,7 @@ subject to the following restrictions:
|
||||
|
||||
|
||||
#include "btBulletDynamicsCommon.h"
|
||||
#include "BulletDynamics/SoftBody/btSoftRigidDynamicsWorld.h"
|
||||
#include "BulletSoftBody/btSoftRigidDynamicsWorld.h"
|
||||
|
||||
#include "BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h"
|
||||
#include "BulletCollision/NarrowPhaseCollision/btGjkEpa2.h"
|
||||
@ -28,8 +28,8 @@ subject to the following restrictions:
|
||||
#include "../GimpactTestDemo/TorusMesh.h"
|
||||
#include <stdio.h> //printf debugging
|
||||
#include "LinearMath/btConvexHull.h"
|
||||
#include "btSoftBodyRigidBodyCollisionConfiguration.h"
|
||||
#include "BulletDynamics/SoftBody/btSoftBodyHelpers.h"
|
||||
#include "BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h"
|
||||
#include "BulletSoftBody/btSoftBodyHelpers.h"
|
||||
|
||||
static float gCollisionMargin = 0.05f/*0.05f*/;
|
||||
#include "SoftDemo.h"
|
||||
|
@ -20,7 +20,7 @@ subject to the following restrictions:
|
||||
|
||||
#include "DemoApplication.h"
|
||||
#include "LinearMath/btAlignedObjectArray.h"
|
||||
#include "BulletDynamics/SoftBody/btSoftBody.h"
|
||||
#include "BulletSoftBody/btSoftBody.h"
|
||||
|
||||
|
||||
class btBroadphaseInterface;
|
||||
|
@ -25,8 +25,8 @@ subject to the following restrictions:
|
||||
|
||||
#include "BulletCollision/CollisionShapes/btConcaveShape.h"
|
||||
#include "BulletCollision/CollisionDispatch/btCollisionCreateFunc.h"
|
||||
#include "BulletDynamics/SoftBody/btSparseSDF.h"
|
||||
#include "BulletDynamics/SoftBody/btDbvt.h"
|
||||
#include "btSparseSDF.h"
|
||||
#include "btDbvt.h"
|
||||
|
||||
class btBroadphaseInterface;
|
||||
class btCollisionDispatcher;
|
||||
|
@ -18,7 +18,7 @@ subject to the following restrictions:
|
||||
#include "BulletCollision/CollisionShapes/btSphereShape.h"
|
||||
#include "BulletCollision/CollisionShapes/btBoxShape.h"
|
||||
#include "BulletCollision/CollisionDispatch/btCollisionObject.h"
|
||||
#include "BulletDynamics/SoftBody/btSoftBody.h"
|
||||
#include "btSoftBody.h"
|
||||
///TODO: include all the shapes that the softbody can collide with
|
||||
///alternatively, implement special case collision algorithms (just like for rigid collision shapes)
|
||||
|
||||
|
@ -18,8 +18,8 @@ subject to the following restrictions:
|
||||
#include "LinearMath/btQuickprof.h"
|
||||
|
||||
//softbody & helpers
|
||||
#include "BulletDynamics/SoftBody/btSoftBody.h"
|
||||
#include "BulletDynamics/SoftBody/btSoftBodyHelpers.h"
|
||||
#include "btSoftBody.h"
|
||||
#include "btSoftBodyHelpers.h"
|
||||
|
||||
btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher* dispatcher,btBroadphaseInterface* pairCache,btConstraintSolver* constraintSolver,btCollisionConfiguration* collisionConfiguration)
|
||||
:btDiscreteDynamicsWorld(dispatcher,pairCache,constraintSolver,collisionConfiguration)
|
||||
|
@ -17,7 +17,7 @@ subject to the following restrictions:
|
||||
#include "BulletCollision/CollisionDispatch/btCollisionDispatcher.h"
|
||||
#include "BulletCollision/CollisionShapes/btBoxShape.h"
|
||||
#include "BulletCollision/CollisionDispatch/btCollisionObject.h"
|
||||
#include "BulletDynamics/SoftBody/btSoftBody.h"
|
||||
#include "btSoftBody.h"
|
||||
|
||||
#define USE_PERSISTENT_CONTACTS 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user