Commit Graph

1873 Commits

Author SHA1 Message Date
ejcoumans
bf847b839a another large series of changes, related to the refactoring.
CompoundShapes are tricky to manage with respect to persistent contact points and swapped order of btCollisionObjects,
During dispatch, finding an algorith etc. order can be swapped.
fixed several other issues, related to SimpleBroadphase (removing a proxy was not working)
2006-10-06 05:22:13 +00:00
ejcoumans
97b287a6bc updated Jam buildsystem to link properly under systems that rely on strict ordering of the link libraries 2006-10-05 14:05:09 +00:00
ejcoumans
323a1046fd Cleaned up/simplified construction of a btRigidBody
Fixed memoryleak in btOptimizedBvh (delete []m_contiguousNodes;)
Changed DemoApplication::localCreateRigidBody, so it adds the rigidbody to the btDynamicsWorld.
Added check for duplicate objects in world when adding.
Added assert to prevent setLinearVelocity on static rigidbodies
Added btCollisionFilterGroups to btBroadphaseProxy
removed duplicate 'btBroadphaseProxy*	m_broadphaseProxy;' in btRigidBody
2006-10-04 23:46:27 +00:00
ejcoumans
1208c67f85 removed duplicate int i, caused VC6 not to compile. 2006-10-03 17:51:07 +00:00
ejcoumans
708aa9fbcc added getW for btQuaternion 2006-10-03 02:00:11 +00:00
sjbaker
2aaab1ab1a Assorted cleanup of compilation warnings. Also fixed some actual errors:
#include "renderTexture.h"...when the file is actually called 'RenderTexture.h'.
2006-10-01 00:08:09 +00:00
ejcoumans
01a6290cf7 more refactoring, restored some profiling and some debugging 2006-09-30 02:26:51 +00:00
ejcoumans
d38549aa54 more refactoring, removed PhysicsInterface, cleaned up demos to make use of btDynamicsWorld derived classes.
removed two cached optimizations, type in btTransform and cached inverse transform (todo: test performance impact)
committed fixes that make the code adhere to 'who creates it, also destroys it'
2006-09-30 01:36:39 +00:00
ejcoumans
14397a2f72 confusion about memory management, and removed obsolete PhysicsInterface code.todo: updated the demos that still use this code 2006-09-29 19:57:23 +00:00
ejcoumans
0d7c960eb6 removed #undef max
was leftover/redundant, thanks for reporting Jack
2006-09-29 15:20:45 +00:00
ejcoumans
21482e4cab some minor comment-renames, and moved some data from box/sphere into common convex. 2006-09-28 20:14:10 +00:00
ejcoumans
5a75c6e09e refactoring: sphere-box collision algorithm added 2006-09-28 01:47:24 +00:00
ejcoumans
153ffcda52 more refactoring: fixed conventions in this class 2006-09-28 01:46:36 +00:00
ejcoumans
c473bd69ce refactoring 2006-09-28 01:28:16 +00:00
ejcoumans
2b1657b1dd Refactoring: another huge number of changes, renamed methods to start with lower-case. 2006-09-28 01:11:16 +00:00
ejcoumans
d0f09040e9 fixed some merging conflicts 2006-09-27 20:58:49 +00:00
ejcoumans
eb23bb5c0c merged most of the changes from the branch into trunk, except for COLLADA, libxml and glut glitches.
Still need to verify to make sure no unwanted renaming is introduced.
2006-09-27 20:43:51 +00:00
ejcoumans
e48c81c55e added basic sphere-box case for porting purposes. This way, we can have a basic sample without GJK. 2006-09-27 00:51:25 +00:00
ejcoumans
a54f928b60 added vehicle simulation 2006-09-27 00:08:24 +00:00
ejcoumans
2a602aefa1 added replacement for CcdPhysicsEnvironment 2006-09-26 23:55:35 +00:00
ejcoumans
9531ec4b30 most basic rigid body simulation
lacks object deactivation and constraints, vehicles etc.
2006-09-26 21:31:44 +00:00
ejcoumans
37a53ee7d9 small cleanup in the DemoApplication, removed references to obsolete PHY_ShapeProps/PHY_MaterialProps
removed deletion of motionstate in CcdPhysics/CcdPhysicsController destructor
disabled m_type optimization in SimdTransform (making the memory size 64 byte, potentially more cache friendly)
fixed a bug in island generation, causing the activation not propagating in one frame, but one 'layer' of rigidbodies at a time
2006-09-26 18:59:29 +00:00
ejcoumans
0e04cfc806 First stage in refactoring Bullet: moved Bullet Collision and Dynamics and LinearMath into src folder, and all files in Collision Detection and Dynamics have bt prefix.
Made all buildsystems to work again (jam, msvc, cmake)
2006-09-25 08:58:57 +00:00