Commit Graph

22 Commits

Author SHA1 Message Date
Francois Beaune
649a7d0981 Fix crash in btGImpactMeshShape vs btBvhTriangleMeshShape 2019-02-27 10:41:54 +01:00
Erwin Coumans
77a9a77b60 create some 'Unity Build' cpp files, to work-around setuptools on Windows creating >32k command-line
see 'won't fix' in https://bugs.python.org/issue1539295
2019-01-24 10:32:15 -08:00
Erwin Coumans
83213da154 applied patch for Issue 68
// Ensure that gContactProcessedCallback is called for concave shapes.
        if (getLastManifold())
            m_resultOut->refreshContactPoints();
2018-12-22 17:06:57 -08:00
Erwin Coumans
7740162ad8 apply gimpact versus rotated plane issue,thanks to @cameronwhite
see bd8bd11929
Fixes Issue 69
2018-12-22 16:38:40 -08:00
Michał Janiszewski
5b90e7e0b7 Update include guard in btGImpactBvh.h 2018-10-28 21:50:28 +01:00
Erwin Coumans
42ae4e81a8 apply clang-format (on Mac, slightly different than running it on Windows) 2018-09-30 11:43:57 -07:00
erwincoumans
ab8f16961e Code-style consistency improvement:
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files.
make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type.
This commit contains no other changes aside from adding and applying clang-format-all.sh
2018-09-23 14:17:31 -07:00
Wugand
b7011a864b Fix for memory leak at btCreateCompoundFromGimpactShape
This is an fix for issue #1213
2017-07-03 11:08:36 +02:00
nicolaichuk
ccecb4db62 revert add compare operation 2017-03-30 01:47:43 +03:00
nicolaichuk
f30464ebcb Revert "add compare operators in btAABB"
This reverts commit 18f17be47d.
2017-03-29 18:20:36 +03:00
nicolaichuk
f68f821c89 rename Sructs to Structs 2017-03-23 17:47:44 +03:00
nicolaichuk
703e66727c irr_simd_memcpy to gim_simd_memcpy 2017-03-23 14:22:18 +03:00
nicolaichuk
18f17be47d add compare operators in btAABB 2017-03-23 14:21:49 +03:00
nicolaichuk
db065b8af8 fix redefinition 2017-03-23 14:15:51 +03:00
nicolaichuk
9360f1dca2 "btGImpactQuantizedBvh.h" divided into two files "btGImpactQuantizedBvh.h" and "btGImpactQuantizedBvhSructs.h" 2017-03-23 14:11:55 +03:00
nicolaichuk
3472a61216 "btGImpactBvh.h" divided into two files "btGImpactBvh.h" and "btGImpactBvhSructs.h" 2017-03-23 14:11:02 +03:00
nicolaichuk
b859ad7e4f "btContactProcessing.h" divided into two files "btContactProcessing.h" and "btContactProcessingSructs.h" 2017-03-23 14:10:17 +03:00
erwincoumans
9ee1c4ec24 regular OR wireframe rendering, not both
add option to perform filtering of 'getClosestPoints' using linkA/linkB.
don't use 'realtimesimulation' as default
add/remove debug items within same thread
pybullet, report contact points and normal as [x,y,z] triplet/vector, not 3 scalars
separate 'getClosestPointsAlgorithm': box-box doesn't report closest points with positive distance, and the query shouldn't impact regular 'closesst points'
2016-11-19 17:13:56 -08:00
Lunkhound
1c3686ca51 MultiThreaded Demo:
- fixing various race conditions throughout (usage of static vars, etc)
 - addition of a few lightweight mutexes (which are compiled out by default)
 - slight code rearrangement in discreteDynamicsWorld to facilitate multithreading
 - PoolAllocator::allocate() can now be called when pool is full without
     crashing (null pointer returned)
 - PoolAllocator allocate and freeMemory, are OPTIONALLY threadsafe
     (default is un-threadsafe)
 - CollisionDispatcher no longer checks if the pool allocator is full
     before calling allocate(), instead it just calls allocate() and
     checks if the return is null -- this avoids a race condition
 - SequentialImpulseConstraintSolver OPTIONALLY uses different logic in
     getOrInitSolverBody() to avoid a race condition with kinematic bodies
 - addition of 2 classes which together allow simulation islands to be run
   in parallel:
    - btSimulationIslandManagerMt
    - btDiscreteDynamicsWorldMt
 - MultiThreadedDemo example in the example browser demonstrating use of
   OpenMP, Microsoft PPL, and Intel TBB
 - use multithreading for other demos
 - benchmark demo: add parallel raycasting
2016-10-30 12:47:27 -07:00
Erwin Coumans
193e680790 _N -> n, _C -> c, _L ->l, some collision with a standard C++ header? 2015-02-20 13:51:24 -08:00
Erwin Coumans
5834547368 fix more warnings in BulletCollision, and fix CMakeLists for Linux 2014-08-21 15:54:50 -07:00
Erwin Coumans
222ecb156d add GImpact and BulletSoftBody, until we have replacement (otherwise it prevents people from migrating to the github/Bullet3 repository) 2013-12-18 09:05:30 -08:00