Compiles on Linux now.
Compiles on Linux now.

--- a/build/Makefile
+++ b/build/Makefile
@@ -22,11 +22,11 @@
 TAR = tar

 

 # compiler flags for compiling and linking

-FLAGS = -Wall -ansi -O3

+FLAGS = -Wall -ansi -O3 -fPIC

 # flags for the headers location

-CFLAGS= -I/usr/local/include/irrlicht/ -I/usr/include/Bullet

+CFLAGS= -I/home/kkrizka/dev/irrlicht-svn/include/irrlicht/ -I/usr/include/bullet

 # flags for the libs location

-LIBS= -shared -fPIC -L/usr/lib/Bullet -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lbulletdynamics -lbulletcollision

+LIBS= -shared -fPIC `pkg-config bullet --libs` -lIrrlicht -lGL -lXxf86vm -lXext -lX11

 

 # file endings that are recognized as source code (REGEXP, MUST BEGIN WITH .\)

 ENDING = '\.cpp$$'

@@ -133,7 +133,7 @@
 ifdef REMOVABLE_FILES	

 	rm -f $(REMOVABLE_FILES) # remove removable files

 endif

-	

+

 tidy: clean cleand cleanf # remove everything... (except the sources)

 

 final:


--- a/build/Makefile.install
+++ b/build/Makefile.install
@@ -8,12 +8,12 @@
 

 # installation prefixes for pathnames

 LIB_SRC_PATH=../lib/linux/Release

-LIB_DEST_PATH=/usr/local/lib/

+LIB_DEST_PATH=/home/kkrizka/dev/irrbullet-svn/lib/

 

-DOC_DEST_PATH=/usr/share/doc/packages/irrBullet

+DOC_DEST_PATH=/home/kkrizka/dev/irrbullet-svn/share/doc/packages/irrBullet

 

 HDR_SRC_PATH=../source/

-HDR_DEST_PATH=/usr/local/include/irrBullet

+HDR_DEST_PATH=/home/kkrizka/dev/irrbullet-svn/include/irrBullet

 

 ################################################################

 # NOTE! Please never change anything here.

@@ -22,6 +22,7 @@
 install_extern:

 

 	# docs

+	rm -rf ${DOC_DEST_PATH}

 	mkdir -p ${DOC_DEST_PATH}

 	cp -R ../examples ${DOC_DEST_PATH}

 	cp -R ../doc ${DOC_DEST_PATH}

@@ -29,7 +30,8 @@
 	cp -R ../*.txt ${DOC_DEST_PATH}

 	

 	# lib

-	cp ${LIB_SRC_PATH}/libirrBullet.so ${LIB_DEST_PATH}

+	mkdir -p ${LIB_DEST_PATH}

+	cp ${LIB_SRC_PATH}/libirrBullet.so ${LIB_DEST_PATH}/libIrrBullet.so

 	

 	# headers

 	mkdir -p ${HDR_DEST_PATH}


--- a/source/boxshape.cpp
+++ b/source/boxshape.cpp
@@ -4,8 +4,8 @@
 // The above copyright notice and its accompanying information must remain here.

 

 #include <ISceneNode.h>

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 #include "boxshape.h"

 

 using namespace irr;


--- a/source/bulletworld.cpp
+++ b/source/bulletworld.cpp
@@ -6,12 +6,12 @@
 #include <IrrlichtDevice.h>

 #include <IGUIEnvironment.h>

 #include <IGUIStaticText.h>

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

-#include "Bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"

-#include <Bullet/BulletSoftBody/btSoftSoftCollisionAlgorithm.h>

-#include "Bullet/BulletCollision/CollisionDispatch/btGhostObject.h"

-#include "Bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

+#include "bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"

+#include <bullet/BulletSoftBody/btSoftSoftCollisionAlgorithm.h>

+#include "bullet/BulletCollision/CollisionDispatch/btGhostObject.h"

+#include "bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h"

 #include "liquidbody.h"

 

 #include "bulletworld.h"

@@ -26,84 +26,84 @@
 

 irrBulletWorld::irrBulletWorld(irr::IrrlichtDevice* const Device, bool useGImpact, bool useDebugDrawer) : device(Device)

 {

-    collisionConfiguration = new btSoftBodyRigidBodyCollisionConfiguration();

-	//collisionConfiguration->setConvexConvexMultipointIterations();

-	dispatcher = new btCollisionDispatcher(collisionConfiguration);

-	pairCache = new btDbvtBroadphase();

-	constraintSolver = new btSequentialImpulseConstraintSolver();

-

-    world = new btSoftRigidDynamicsWorld(dispatcher, pairCache,

-        constraintSolver, collisionConfiguration);

-

-    // Initialize the softbody world info

-    softBodyWorldInfo.m_broadphase = pairCache;

-    softBodyWorldInfo.m_dispatcher = dispatcher;

-

-    softBodyWorldInfo.m_sparsesdf.Initialize();

-    softBodyWorldInfo.m_gravity.setValue(0,-10.0,0);

-    softBodyWorldInfo.air_density = (btScalar)1.2;

-    softBodyWorldInfo.water_density = 0;

-    softBodyWorldInfo.water_offset = 0;

-    softBodyWorldInfo.water_normal = btVector3(0,0,0);

-

-    LiquidBodyCount = 0;

-    CollisionObjectCount = 0;

-

-

-    isPaused = false;

-

-    if(useGImpact == true)

-    {

-        gimpactEnabled = true;

-        btGImpactCollisionAlgorithm::registerAlgorithm((btCollisionDispatcher*)dispatcher);

-    }

-

-    else

-    {

-        gimpactEnabled = false;

-    }

-

-

-    debug = 0;

-

-    if(useDebugDrawer)

-    {

-        debug = new IPhysicsDebugDraw(device);

-        world->setDebugDrawer(debug);

-

-        debugMat.Lighting = false;

-    }

-

+  collisionConfiguration = new btSoftBodyRigidBodyCollisionConfiguration();

+  //collisionConfiguration->setConvexConvexMultipointIterations();

+  dispatcher = new btCollisionDispatcher(collisionConfiguration);

+  pairCache = new btDbvtBroadphase();

+  constraintSolver = new btSequentialImpulseConstraintSolver();

+  

+  world = new btSoftRigidDynamicsWorld(dispatcher, pairCache,

+				       constraintSolver, collisionConfiguration);

+  

+  // Initialize the softbody world info

+  softBodyWorldInfo.m_broadphase = pairCache;

+  softBodyWorldInfo.m_dispatcher = dispatcher;

+  

+  softBodyWorldInfo.m_sparsesdf.Initialize();

+  softBodyWorldInfo.m_gravity.setValue(0,-10.0,0);

+  softBodyWorldInfo.air_density = (btScalar)1.2;

+  softBodyWorldInfo.water_density = 0;

+  softBodyWorldInfo.water_offset = 0;

+  softBodyWorldInfo.water_normal = btVector3(0,0,0);

+  

+  LiquidBodyCount = 0;

+  CollisionObjectCount = 0;

+  

+  

+  isPaused = false;

+  

+  if(useGImpact == true)

+    {

+      gimpactEnabled = true;

+      btGImpactCollisionAlgorithm::registerAlgorithm((btCollisionDispatcher*)dispatcher);

+    }

+  

+  else

+    {

+      gimpactEnabled = false;

+    }

+  

+  

+  debug = 0;

+  

+  if(useDebugDrawer)

+    {

+      debug = new IPhysicsDebugDraw(device);

+      world->setDebugDrawer(debug);

+      

+      debugMat.Lighting = false;

+    }

+  

     // For displaying debugging properties

-    propertyText = device->getGUIEnvironment()->addStaticText(L"",

-            rect<s32>(10,10,120,240), false);

-

-

-    printf("irrBullet %i.%i.%i\n", IRRBULLET_VER_MAJOR, IRRBULLET_VER_MINOR, IRRBULLET_VER_MICRO);

+  propertyText = device->getGUIEnvironment()->addStaticText(L"",

+							    rect<s32>(10,10,120,240), false);

+  

+  

+  printf("irrBullet %i.%i.%i\n", IRRBULLET_VER_MAJOR, IRRBULLET_VER_MINOR, IRRBULLET_VER_MICRO);

 }

 

 

 u32 irrBulletWorld::stepSimulation(f32 timeStep, u32 maxSubSteps, f32 fixedTimeStep)

 {

-    if(isPaused == false)

-    {

-        u32 i = getPointer()->stepSimulation(timeStep, maxSubSteps, fixedTimeStep);

-        updateCollisionObjects();

-        updateLiquidBodies();

-        return i;

-    }

-

-    return 0;

+  if(isPaused == false)

+    {

+      u32 i = getPointer()->stepSimulation(timeStep, maxSubSteps, fixedTimeStep);

+      updateCollisionObjects();

+      updateLiquidBodies();

+      return i;

+    }

+  

+  return 0;

 }

 

 

 void irrBulletWorld::updateLiquidBodies()

 {

-    list<ILiquidBody*>::Iterator it = liquidBodies.begin();

-

-    for(; it != liquidBodies.end(); it++)

-    {

-        (*it)->updateLiquidBody();

+  list<ILiquidBody*>::Iterator it = liquidBodies.begin();

+  

+  for(; it != liquidBodies.end(); it++)

+    {

+      (*it)->updateLiquidBody();

     }

 }

 

@@ -156,13 +156,13 @@
 

 IRigidBody* irrBulletWorld::addRigidBody(ICollisionShape* shape)

 {

-    IRigidBody* b = new IRigidBody(this, shape);

-    collisionObjects.push_back(b);

-    getPointer()->addRigidBody(b->getPointer());

-

-    CollisionObjectCount++;

-

-    return b;

+  IRigidBody* b = new IRigidBody(this, shape);

+  collisionObjects.push_back(b);

+  getPointer()->addRigidBody(b->getPointer());

+  

+  CollisionObjectCount++;

+  

+  return b;

 }

 

 

@@ -234,55 +234,54 @@
 

 void irrBulletWorld::removeCollisionObject(ICollisionObject* const obj, bool deleteObject)

 {

-    if(obj)

-    {

-        list<ICollisionObject*>::Iterator cbit = collisionObjects.begin();

-

-        for(; cbit != collisionObjects.end(); )

-        {

-            if((*cbit) == obj)

+  if(obj)

+    {

+      list<ICollisionObject*>::Iterator cbit = collisionObjects.begin();

+      

+      for(; cbit != collisionObjects.end(); )

+        {

+	  if((*cbit) == obj)

             {

-                if((*cbit)->getObjectType() == ECOT_RIGID_BODY)

+	      if((*cbit)->getObjectType() == ECOT_RIGID_BODY)

                 {

-                    #ifdef IRRBULLET_DEBUG_MODE

-                        printf("irrBullet: Removing rigid body (%i)\n", obj->getUniqueID());

-                    #endif

-                    if(static_cast<IRigidBody*>(obj)->getVehicleReference() != 0)

-                        removeRaycastVehicle(static_cast<IRigidBody*>(obj)->getVehicleReference());

-                    getPointer()->removeRigidBody(static_cast<IRigidBody*>(obj)->getPointer());

+#ifdef IRRBULLET_DEBUG_MODE

+		  printf("irrBullet: Removing rigid body (%i)\n", obj->getUniqueID());

+#endif

+		  if(static_cast<IRigidBody*>(obj)->getVehicleReference() != 0)

+		    removeRaycastVehicle(static_cast<IRigidBody*>(obj)->getVehicleReference());

+		  getPointer()->removeRigidBody(static_cast<IRigidBody*>(obj)->getPointer());

                 }

-

-                else

+	      

+	      else

                 if((*cbit)->getObjectType() == ECOT_SOFT_BODY)

+		  {

+#ifdef IRRBULLET_DEBUG_MODE

+		    printf("irrBullet: Removing soft body (%i)\n", obj->getUniqueID());

+#endif

+                    getPointer()->removeSoftBody(static_cast<ISoftBody*>(obj)->getPointer());

+		  }

+	      

+	      if(deleteObject == true)

                 {

-                    #ifdef IRRBULLET_DEBUG_MODE

-                        printf("irrBullet: Removing soft body (%i)\n", obj->getUniqueID());

-                    #endif

-                    getPointer()->removeSoftBody(static_cast<ISoftBody*>(obj)->getPointer());

-                }

-

-                if(deleteObject == true)

-                {

-                    if((*cbit)->getObjectType() == ECOT_RIGID_BODY)

+		  if((*cbit)->getObjectType() == ECOT_RIGID_BODY)

                     {

-                        delete static_cast<IRigidBody*>(*cbit);

-                        (*cbit) = 0;

+		      delete static_cast<IRigidBody*>(*cbit);

+		      (*cbit) = 0;

                     }

-

-                    else

+		  

+		  else

                     {

-                        delete static_cast<ISoftBody*>(*cbit);

-                        (*cbit) = 0;

+		      delete static_cast<ISoftBody*>(*cbit);

+		      (*cbit) = 0;

                     }

                 }

-                cbit = collisionObjects.erase(cbit);

-

-                CollisionObjectCount--;

-

+	      cbit = collisionObjects.erase(cbit);

+	      

+	      CollisionObjectCount--;

+	      

             }

-

-            else

-                cbit++;

+	  else

+	    cbit++;

         }

     }

 }


--- a/source/bvhtrianglemeshshape.cpp
+++ b/source/bvhtrianglemeshshape.cpp
@@ -3,8 +3,8 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include <btBulletDynamicsCommon.h>

+#include <btBulletCollisionCommon.h>

 #include "bvhtrianglemeshshape.h"

 

 using namespace irr;


--- a/source/collisioncallbackinformation.cpp
+++ b/source/collisioncallbackinformation.cpp
@@ -4,7 +4,7 @@
 // The above copyright notice and its accompanying information must remain here.

 

 #include "collisioncallbackinformation.h"

-#include "Bullet/BulletCollision/CollisionDispatch/btCollisionObject.h"

+#include <BulletCollision/CollisionDispatch/btCollisionObject.h>

 #include "collisionobject.h"

 #include "bulletworld.h"

 

@@ -37,8 +37,13 @@
 

 SManifoldPoint& ICollisionCallbackInformation::getContactPoint(irr::u32 index)

 {

-    btManifoldPoint &point = contactManifold->getContactPoint(index);

-    manifoldPoint.setInfo(point);

-    return manifoldPoint;

+  btManifoldPoint &point = contactManifold->getContactPoint(index);

+  manifoldPoint.setInfo(point);

+  return manifoldPoint;

+}

+

+irr::u32 ICollisionCallbackInformation::getNumContactPoints()

+{

+  return contactManifold->getNumContacts();

 }

 

--- a/source/collisioncallbackinformation.h
+++ b/source/collisioncallbackinformation.h
@@ -9,7 +9,7 @@
 #include <irrTypes.h>

 #include <vector3d.h>

 #include "irrbulletcommon.h"

-#include "Bullet/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"

+#include <BulletCollision/NarrowPhaseCollision/btPersistentManifold.h>

 

 

 class ICollisionObject;

@@ -49,21 +49,21 @@
 

 class ICollisionCallbackInformation

 {

-    public:

-        ICollisionCallbackInformation(btPersistentManifold* const manifold, irrBulletWorld* world);

-

-        ICollisionObject* const getBody0() const;

-        ICollisionObject* const getBody1() const;

-

-        SManifoldPoint& getContactPoint(irr::u32 index);

-

-        btPersistentManifold* const getPointer() const { return contactManifold; };

-

-

-    private:

-        btPersistentManifold* contactManifold;

-        SManifoldPoint manifoldPoint;

-        irrBulletWorld *dynamicsWorld;

+public:

+  ICollisionCallbackInformation(btPersistentManifold* const manifold, irrBulletWorld* world);

+  

+  ICollisionObject* const getBody0() const;

+  ICollisionObject* const getBody1() const;

+  

+  SManifoldPoint& getContactPoint(irr::u32 index);

+  irr::u32 getNumContactPoints();

+  

+  btPersistentManifold* const getPointer() const { return contactManifold; };

+  

+private:

+  btPersistentManifold* contactManifold;

+  SManifoldPoint manifoldPoint;

+  irrBulletWorld *dynamicsWorld;

 };

 

 #endif // __COLLISION_CALLBACK_INFORMATION_H__


--- a/source/collisionobject.cpp
+++ b/source/collisionobject.cpp
@@ -3,8 +3,8 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 #include <ISceneManager.h>

 #include <IFileSystem.h>

 #include <IMeshSceneNode.h>


--- a/source/collisionshape.cpp
+++ b/source/collisionshape.cpp
@@ -3,9 +3,9 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

-#include "Bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"

+#include <btBulletDynamicsCommon.h>

+#include <btBulletCollisionCommon.h>

+#include <BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h>

 #include "collisionshape.h"

 

 using namespace irr;


--- a/source/convexhullshape.cpp
+++ b/source/convexhullshape.cpp
@@ -5,8 +5,8 @@
 

 #include <IMesh.h>

 #include <IMeshBuffer.h>

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 #include "collisionshape.h"

 #include "convexhullshape.h"

 


--- a/source/gimpactmeshshape.cpp
+++ b/source/gimpactmeshshape.cpp
@@ -3,9 +3,9 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

-#include "Bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

+#include "bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"

 #include "gimpactmeshshape.h"

 

 


--- a/source/irrbullet.h
+++ b/source/irrbullet.h
@@ -31,9 +31,9 @@
 #define __IRR_BULLET_H_INCLUDED__

 

 #include "irrbullet_compile_config.h"

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

-#include "Bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

+#include "bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"

 #include "irrbulletcommon.h"

 #include "bulletworld.h"

 #include "boxshape.h"


--- a/source/irrbulletcommon.cpp
+++ b/source/irrbulletcommon.cpp
@@ -3,8 +3,8 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 

 #include "raycastvehicle.h"

 #include "collisionobject.h"


--- a/source/motionstate.cpp
+++ b/source/motionstate.cpp
@@ -3,8 +3,8 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 #include "motionstate.h"

 #include "bulletworld.h"

 #include <ISceneManager.h>


--- a/source/physicsdebug.h
+++ b/source/physicsdebug.h
@@ -3,7 +3,7 @@
 #ifndef __PHYSICS_DEBUG_H_INCLUDED__

 #define __PHYSICS_DEBUG_H_INCLUDED__

 

-#include "Bullet/LinearMath/btIDebugDraw.h"

+#include <LinearMath/btIDebugDraw.h>

 #include "irrbulletcommon.h"

 

 namespace irr


--- a/source/raycastvehicle.cpp
+++ b/source/raycastvehicle.cpp
@@ -3,8 +3,8 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include <btBulletDynamicsCommon.h>

+#include <btBulletCollisionCommon.h>

 #include <ISceneManager.h>

 #include <IFileSystem.h>

 #include "raycastvehicle.h"


--- a/source/rigidbody.cpp
+++ b/source/rigidbody.cpp
@@ -3,8 +3,8 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 #include <ISceneManager.h>

 #include <IFileSystem.h>

 #include <IrrlichtDevice.h>

@@ -143,7 +143,7 @@
 

 void IRigidBody::translate(const vector3df &v)

 {

-    getPointer()->translate(irrlichtToBulletVector(v));

+  getPointer()->translate(irrlichtToBulletVector(v));

 }

 

 void IRigidBody::getAabb(vector3df &aabbMin, vector3df &aabbMax)

@@ -474,25 +474,25 @@
 

 IRigidBody::~IRigidBody()

 {

-    BuoyancyPoints.clear();

-

-    // Remove all the constraints that this object has referenced to it.

-    while(getPointer()->getNumConstraintRefs() > 0)

+  BuoyancyPoints.clear();

+

+  // Remove all the constraints that this object has referenced to it.

+  while(getPointer()->getNumConstraintRefs() > 0)

     {

-        printf("irrBullet: Removing constraint\n");

-        btTypedConstraint* constraint = getPointer()->getConstraintRef(0);

-        dynamicsWorld->getPointer()->removeConstraint(constraint);

-        delete constraint;

+      printf("irrBullet: Removing constraint\n");

+      btTypedConstraint* constraint = getPointer()->getConstraintRef(0);

+      dynamicsWorld->getPointer()->removeConstraint(constraint);

+      delete constraint;

     }

-

-    if(IncludeNodeOnRemoval && shape)

-        shape->removeNode();

-

-    if(shape)

-        delete shape;

-

-    if(collID)

-        delete collID;

+  

+  if(IncludeNodeOnRemoval && shape)

+    shape->removeNode();

+  

+  if(shape)

+    delete shape;

+  

+  if(collID)

+    delete collID;

 }

 

 


--- a/source/rigidbody.h
+++ b/source/rigidbody.h
@@ -17,9 +17,9 @@
 

 struct SRigidBodyConstructionInfo

 {

-    ICollisionShape *collisionShape;

-    irr::f32 angularDamping;

-    irr::f32 linearDamping;

+  ICollisionShape *collisionShape;

+  irr::f32 angularDamping;

+  irr::f32 linearDamping;

 };

 

 /*!


--- a/source/sphereshape.cpp
+++ b/source/sphereshape.cpp
@@ -3,8 +3,8 @@
 // For conditions of distribution and use, see license in irrbullet.h

 // The above copyright notice and its accompanying information must remain here.

 

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 #include "sphereshape.h"

 

 using namespace irr;


--- a/source/sphereshape.h
+++ b/source/sphereshape.h
@@ -8,7 +8,7 @@
 

 

 #include "collisionshape.h"

-#include "Bullet/BulletCollision/CollisionShapes/btSphereShape.h"

+#include "bullet/BulletCollision/CollisionShapes/btSphereShape.h"

 

 

 class ISphereShape : public ICollisionShape


--- a/source/trianglemeshshape.cpp
+++ b/source/trianglemeshshape.cpp
@@ -5,8 +5,8 @@
 

 #include <IMesh.h>

 #include <IMeshBuffer.h>

-#include "Bullet/btBulletDynamicsCommon.h"

-#include "Bullet/btBulletCollisionCommon.h"

+#include "bullet/btBulletDynamicsCommon.h"

+#include "bullet/btBulletCollisionCommon.h"

 #include "trianglemeshshape.h"

 

 using namespace irr;


--- a/source/trianglemeshshape.h
+++ b/source/trianglemeshshape.h
@@ -7,7 +7,7 @@
 #define __TRIANGLE_MESH_SHAPE_H_INCLUDED__

 

 #include "collisionshape.h"

-#include "BulletCollision/CollisionShapes/btTriangleMesh.h"

+#include "bullet/BulletCollision/CollisionShapes/btTriangleMesh.h"

 #include "irrbulletcommon.h"

 

 namespace irr