Commit Graph

177 Commits

Author SHA1 Message Date
Daniel Chappuis
cd4bc7573f Rename the List class into Array 2020-09-05 15:06:51 +02:00
Daniel Chappuis
70d4aed3c1 Reduce the number of calls to List::reserve() 2020-08-30 08:32:49 +02:00
Daniel Chappuis
2b362b5098 Use uint32 type for size/capacity of List 2020-08-30 00:00:47 +02:00
Daniel Chappuis
a1e0e0aa94 Refactor OverlappingPairs 2020-08-11 18:14:32 +02:00
Daniel Chappuis
05e3b00689 Remove mIsActive variable from OverlappingPairs 2020-08-06 16:00:50 +02:00
Daniel Chappuis
fd09fcf660 Add force inline macro 2020-07-26 20:47:23 +02:00
Daniel Chappuis
92884e2486 Working on NarrowPhaseInfoBatch optimizations 2020-07-26 16:55:07 +02:00
Daniel Chappuis
4283e3f408 Fix issue in SAT with edge-edge contact (wrong contact normal) and favor face contacts over edge-edge contacts in polyhedron vs polyhedron collision in SAT algorithm for better stability 2020-06-27 23:48:19 +02:00
Daniel Chappuis
09dc35f635 Update dates and version numbers in files 2020-05-27 16:15:35 +02:00
Daniel Chappuis
fa4eb297bf Add logs, remove warnings, ... 2020-05-25 21:40:44 +02:00
Daniel Chappuis
39bbd6ec6d Refactor CMakeLists.txt files to use more modern CMAKE 2020-05-11 12:38:59 +02:00
Daniel Chappuis
dcd71ef103 Improve EventListener: add onTrigger() method, add event types, add triggers, ... 2020-04-18 20:43:13 +02:00
Daniel Chappuis
a190bba8c0 Refactor where the headers are store for better installation of the library 2020-03-18 07:28:34 +01:00
Daniel Chappuis
b0fde22678 Rename ProxyShape to Collider 2020-01-20 21:22:46 +01:00
Daniel Chappuis
815182aae9 Merge ecs into develop and fix conflicts 2019-11-27 22:14:29 +01:00
Daniel Chappuis
d894a40d2e Working on middle-phase collision detection 2019-11-19 18:35:22 +01:00
Daniel Chappuis
44e07e0bd9 Working on making middle-phase collision detection faster 2019-11-09 23:55:54 +01:00
Daniel Chappuis
130eb00136 Refactoring 2019-10-18 07:13:45 +02:00
Daniel Chappuis
df04be0e6d Rename CollisionDetection class to CollisionDetectionSystem 2019-08-09 07:13:15 +02:00
Daniel Chappuis
569964e365 Remove Body class 2019-07-15 17:38:20 +02:00
Daniel Chappuis
f9fa2a227c Changes for release of version 0.7.1 2019-07-01 08:42:27 +02:00
Daniel Chappuis
eccc4faa6d Disable previous axis clipping (temporal coherence) in SAT algorithm for testCollision() methods 2019-06-27 07:12:17 +02:00
Daniel Chappuis
74b442077f Working on testCollision() and testOverlap() methods 2019-06-25 23:26:06 +02:00
Daniel Chappuis
3f5916a280 Working on testOverlap() and testCollisionMethods 2019-06-03 07:12:50 +02:00
Daniel Chappuis
d9342c55f5 Working on contacts refactoring 2019-04-22 16:15:47 +02:00
Daniel Chappuis
95210623e3 Fix for issue79 2019-04-19 11:25:56 +02:00
Daniel Chappuis
528d7bfd45 Fix issue in SAT algorithm 2019-01-28 18:51:04 +01:00
Daniel Chappuis
6bcb586d52 Fix issue with bias in SATAlgorithm and add asserts 2019-01-24 17:50:50 +01:00
Daniel Chappuis
6e67b83ca4 Modifs in NarrowPhaseBatch info classes 2018-12-01 13:17:32 +01:00
Daniel Chappuis
05d05c3fd8 Create SphereVsCapsuleNarrowPhaseInfoBatch 2018-11-29 17:33:27 +01:00
Daniel Chappuis
11ddc3f079 Create CapsuleVsCapsuleNarrowPhaseInfoBatch class 2018-11-29 07:08:39 +01:00
Daniel Chappuis
6413d479ad Create SphereVsSphereNarrowPhaseInfoBatch class 2018-11-27 07:27:38 +01:00
Daniel Chappuis
5e57ea896a Refactor NarrowPhaseAlgorithm and make possible to use single frame allocator for NarrowPhaseInput memory allocation 2018-11-09 17:19:28 +01:00
Daniel Chappuis
5cdf66d009 Directly call narrrow-phase collision detection tests on narrow phase batches 2018-11-05 18:34:46 +01:00
Daniel Chappuis
f0fe97a41b Remove method to get last frame info from NarrowPhaseInfoBatch class 2018-10-10 20:33:42 +02:00
Daniel Chappuis
e8ed10314a Refactor narrow-phase algorithms to iterate over batches of narrow-phase infos 2018-10-03 22:10:05 +02:00
Daniel Chappuis
b3cd791146 Make possible for the user to use a custom pool memory allocator 2018-09-26 18:31:21 +02:00
Daniel Chappuis
cf3d76ce45 Replace linked-list by rp3d::List for contactPoints of NarrowPhaseInfo 2018-09-18 07:35:11 +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
681ebeba6b Update copyright date in license 2018-04-30 22:15:53 +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
96c581ae9b Fix compilation warnings 2018-04-16 07:54:46 +02:00
Daniel Chappuis
5339b5ea4a Fix compilation warnings 2018-04-14 19:53:44 +02:00
Daniel Chappuis
393bb0ed88 Refactor profiler and start working on logger 2018-03-14 07:33:28 +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
301823729d Remove the use of std::vector 2018-01-20 17:30:36 +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
261ffef616 Refactor memory allocation 2018-01-01 18:35:57 +01:00
Daniel Chappuis
8f126a75d6 Use List in HalfEdgeStructure with some changes in memory allocation 2017-12-27 20:53:09 +01:00