Commit Graph

487 Commits

Author SHA1 Message Date
Mkr
ede45c4188 Add support for passing a single frame allocator from user code 2018-09-25 20:27:24 -07:00
Mkr
78bbb7320d Make getVertexAt and getHeightAt public to allow for inspecting the height field (e.g. for debug draw the height field) 2018-08-16 21:32:25 -07:00
Mkr
fa1917a782 Explicitly use std::sqrt to avoid triggering ambiguous call errors when sqrt is defined in other namespaces 2018-08-14 22:24:15 -07:00
Daniel Chappuis
160759bb63 Replace array by Set for the moved shapes in broad-phase and fix a bug with added and removed collision body (crash in BroadPhaseAlgorithm::computeOverlappingPairs()) 2018-07-21 23:25:34 +02:00
Daniel Chappuis
e2fdf8ae8e Fix compilation warnings 2018-07-21 23:07:16 +02:00
Daniel Chappuis
c186a35b2d Fix compilation error on GCC 7 2018-07-21 22:50:54 +02:00
Daniel Chappuis
14491c7eb3 Make comment more clear 2018-07-01 17:24:24 +02:00
Daniel Chappuis
45f86ea543 Fix issue with ConvexMeshShape and BoxShape falling through ConcaveMeshShape and HeightFieldShape 2018-07-01 15:47:50 +02:00
Daniel Chappuis
15d9c29dd8 Fix linker error because of inline keyword 2018-05-31 20:06:33 +02:00
Daniel Chappuis
d15a41f0cc Fix issue with the list of contact manifolds of a CollisionBody that was not cleared 2018-05-30 11:08:34 +02:00
Daniel Chappuis
1c12ffe287 Fix compilation issue on Windows 10 with MINGW64 2018-05-29 21:53:59 +02:00
Daniel Chappuis
6732a8119c Fix issue with collision between a CollisionBody and a RigidBody in a DynamicsWorld 2018-05-29 21:44:56 +02:00
Daniel Chappuis
fe02f4ecc5 Fix issue with scaling in ConcaveMeshShape 2018-05-24 08:30:10 +02:00
Daniel Chappuis
82c7c5f29a Fix issue in broad-phase collision detection 2018-05-21 20:42:39 +02:00
Daniel Chappuis
681ebeba6b Update copyright date in license 2018-04-30 22:15:53 +02:00
Daniel Chappuis
b0f9cfd65a Fix compilation warnings 2018-04-21 20:03:44 +02:00
Daniel Chappuis
d5322ad745 Add comments in the code 2018-04-21 19:47:35 +02:00
Daniel Chappuis
d14e42be70 Refactor the way headers are included and use more forward declarations for faster compilation time 2018-04-20 07:13:39 +02:00
Daniel Chappuis
491702c05c Fix tests and fix compilation warnings 2018-04-16 18:52:02 +02:00
Daniel Chappuis
96c581ae9b Fix compilation warnings 2018-04-16 07:54:46 +02:00
Daniel Chappuis
e0c624205c Fix compilation warnings 2018-04-15 23:25:21 +02:00
Daniel Chappuis
5339b5ea4a Fix compilation warnings 2018-04-14 19:53:44 +02:00
Daniel Chappuis
4697b9fcef Fix issues with contact points reduction 2018-04-14 19:52:00 +02:00
Daniel Chappuis
1e4990ccbf Fix issue in Pair 2018-04-04 18:43:28 +02:00
Daniel Chappuis
fea3e44856 Fix memory leak in List, Map and Set 2018-04-04 18:37:24 +02:00
Daniel Chappuis
0307a1d9be Fix memory leaks in Map and Set 2018-04-04 07:31:49 +02:00
Daniel Chappuis
cea44dc235 Fix issue in List 2018-04-03 22:45:20 +02:00
Daniel Chappuis
235b36ac47 Fix issue with logger 2018-04-03 07:08:19 +02:00
Daniel Chappuis
cd897f1151 Fix compilation errors when logs or profiling is disabled 2018-03-29 07:16:50 +02:00
Daniel Chappuis
100cdbc64a Working on logger 2018-03-28 22:55:02 +02:00
Daniel Chappuis
71bfa6afce Remove setLocalScaling() method from CollisionShape and ProxyShape and use scaling only for HeightFieldShape, ConvexMeshShape and ConcaveMeshShape 2018-03-26 22:00:52 +02:00
Daniel Chappuis
1bc50de2c9 Working on logger 2018-03-19 23:02:13 +01:00
Daniel Chappuis
2e28b5ad8f Refactor profiler and add logger 2018-03-15 23:11:26 +01:00
Daniel Chappuis
393bb0ed88 Refactor profiler and start working on logger 2018-03-14 07:33:28 +01:00
Daniel Chappuis
cd2bc9665e Add WorldSettings class for world configuration settings 2018-03-04 19:10:32 +01:00
Daniel Chappuis
0f4d41e8fc Merge branch 'optimization' into develop 2018-02-26 07:33:58 +01:00
Daniel Chappuis
4177044f74 Replace testPointInside() and raycast() methods for ConvexMeshShape (do not used GJK anymore) and some small refactoring 2018-02-26 07:17:54 +01:00
Daniel Chappuis
6dac7e0916 Fix issue with clipping methods 2018-02-11 14:42:11 +01:00
Daniel Chappuis
1a787453e8 Replace std::pair by rp3d::Pair 2018-02-05 07:41:02 +01:00
Daniel Chappuis
e0fda18446 Replace malloc/free calls by use of the MemoryManager of ReactPhysics3D 2018-02-04 19:43:17 +01:00
Daniel Chappuis
b3e771838d Replace std::set by Set and fix issues with List and Map 2018-02-03 20:48:08 +01:00
Daniel Chappuis
220057a587 Remove the use of std::map and fix issues in Map class 2018-01-26 17:34:26 +01:00
Konstantinos Chatzilygeroudis
a82bd12383 Fix for compilation issues 2018-01-25 19:00:09 +01:00
Daniel Chappuis
624de80453 Merge branch 'optimization' into sat 2018-01-21 13:11:57 +01:00
Daniel Chappuis
010d7876ef Make sure we do not recompute automatically center of mass and inertia tensor when they are set by the user 2018-01-21 13:11:11 +01:00
Daniel Chappuis
301823729d Remove the use of std::vector 2018-01-20 17:30:36 +01:00
Daniel Chappuis
3a0cc1feac Working on Map 2018-01-19 17:50:30 +01:00
Daniel Chappuis
b1ecfb0fed Working on containers (List, Map) 2018-01-19 07:55:55 +01:00
Daniel Chappuis
b93e358f5b Fix issue with zero penetration depth in Sphere vs Capsule collision 2018-01-15 18:34:20 +01:00
Daniel Chappuis
c7f7a169f8 Refactor the getter/setter for inertia tensor of a RigidBody 2018-01-15 07:18:00 +01:00