Commit Graph

354 Commits

Author SHA1 Message Date
Daniel Chappuis
57da79492f Add sphere vs convex polyhedron test in SAT algorithm 2017-04-02 00:33:29 +02:00
Daniel Chappuis
951ba3e42c Working on ConvexPolyhedron class 2017-03-30 22:39:06 +02:00
Daniel Chappuis
a9b3afae59 Finish implementing capsule vs capsule narrow-phase algorithm 2017-03-28 23:07:10 +02:00
Daniel Chappuis
050e8b36dc Refactor convex mesh shape (create PolyhedronMesh, ConvexPolyhedron classes) 2017-03-22 19:07:31 +01:00
Daniel Chappuis
b21a6bb59b Refactor contact manifold and contact point creation 2017-02-26 13:48:50 +02:00
Daniel Chappuis
6a01abfae8 Fix issues, work on HalfEdgeStructure and add unit tests 2017-02-20 17:11:13 +02:00
Daniel Chappuis
7a656aedc9 Working on HalfEdgeStructure 2017-02-13 22:38:47 +01:00
Daniel Chappuis
30e0132e15 Add capsule/capsule and capsule/sphere collision algorithm 2017-02-02 23:10:01 +01:00
Daniel Chappuis
e9f2f94f64 Continue working on SAT, remove Cone and Cylinder shapes 2017-02-02 22:58:40 +01:00
Daniel Chappuis
e491e38146 Fix issue in collision detection 2017-01-27 20:26:56 +01:00
Daniel Chappuis
99eb7cf82c Fix issue in collision detection 2017-01-19 21:27:58 +01:00
Daniel Chappuis
a50ae73663 Fix issue in GJK algorithm 2017-01-19 20:29:40 +01:00
Daniel Chappuis
f2a6dde913 Fix return value in EPA Algorithm 2017-01-18 23:05:43 +01:00
Daniel Chappuis
4a97c2ca97 Refactor collision detection 2017-01-08 19:56:59 +01:00
Daniel Chappuis
f82777bd3b Refactor some methods in ContactPoint 2016-11-05 19:20:54 +01:00
Daniel Chappuis
16d27f40b9 Remove bodies pointer from ContactPoint 2016-11-03 18:06:45 +01:00
Daniel Chappuis
b3d24e4299 Cache some calculation in contact solver 2016-10-23 20:04:52 +02:00
Daniel Chappuis
cc6d3d621d Add profiling data 2016-10-20 19:16:55 +02:00
Daniel Chappuis
ce06a4b935 Change fixed size data types 2016-10-17 22:41:58 +02:00
Daniel Chappuis
14bfb0aca4 Some optimizations in contact solver 2016-10-17 22:41:33 +02:00
Daniel Chappuis
81426293e0 Remove unused variables in contact solver 2016-10-16 23:18:42 +02:00
Daniel Chappuis
d04cee7d0a Change the way to iterate over contacts 2016-10-16 15:40:38 +02:00
Daniel Chappuis
58ae61d6aa Remove Impulse class 2016-10-11 20:08:47 +02:00
Daniel Chappuis
7b5dce927e Fix issue with split impulse and refactor contact solver 2016-10-10 23:30:32 +02:00
Daniel Chappuis
a4a141483b Remove init contact constraint method 2016-10-08 23:04:22 +02:00
Daniel Chappuis
3ab2b8608c Always solve friction at the center of the manifold and always use warmstarting 2016-10-08 16:58:28 +02:00
Daniel Chappuis
25fddd6fb2 Back to previous contact solver 2016-10-08 01:18:56 +02:00
Daniel Chappuis
54be20c5d3 Increase the default size of the single frame memory allocator 2016-10-02 15:10:19 +02:00
Daniel Chappuis
c597815191 Remove unecessary variables in constraints and cache inverse inertia world tensor of bodies 2016-09-26 22:51:30 +02:00
Daniel Chappuis
8f4979f4a2 Allocate memory in the SingleFrameAllocator in the update() method 2016-09-22 23:24:03 +02:00
Daniel Chappuis
e014f00afc Refactor memory allocator and refactor contact solver 2016-09-21 22:03:45 +02:00
Daniel Chappuis
92460791e6 Refactor PoolAllocator and add SingleFrameAllocator 2016-09-21 22:01:14 +02:00
Daniel Chappuis
1a26241fa8 Fix issue in contact solver 2016-09-16 20:02:38 +02:00
Daniel Chappuis
b4f13308de Optimize warmstarting in contact solver 2016-09-13 22:58:17 +02:00
Daniel Chappuis
e069a25f08 Start refactoring the contact solver 2016-09-10 11:18:52 +02:00
Daniel Chappuis
5b17652adb Merge branch 'develop' into optimization 2016-08-21 20:49:22 +02:00
Daniel Chappuis
2f195c6106 Fix compilation error on gcc 2016-08-21 20:44:29 +02:00
Daniel Chappuis
123cd93f38 Fix compilation error on gcc 2016-08-21 20:37:58 +02:00
Daniel Chappuis
6f8d9586c7 Fix compilation error on gcc 2016-08-21 20:25:50 +02:00
Daniel Chappuis
0a7eeaeb48 Fix compilation error on gcc 2016-08-21 19:32:14 +02:00
Daniel Chappuis
8a69dc89fa Add missing override keyword 2016-08-21 12:34:27 +02:00
Daniel Chappuis
8d2b898168 Fix merge conflicts 2016-08-21 11:47:22 +02:00
Daniel Chappuis
2932403ff4 Use default keyword for default constructors/destructors 2016-07-19 06:52:18 +02:00
Daniel Chappuis
cfede8f179 Use constexpr for compile time constants 2016-07-11 08:59:39 +02:00
Daniel Chappuis
16478722de Use override keyword to mark virtual overriden methods 2016-07-11 08:33:24 +02:00
Daniel Chappuis
f5ade0f52d Fix virtual constructors, use c++11 scoped enums, use c++11 delete methods instead of private constructors 2016-07-08 07:25:37 +02:00
Daniel Chappuis
be957ba41a Replace typedefs by c++11 alias declaration 2016-07-06 07:05:34 +02:00
Daniel Chappuis
9cc633fc67 Modify initial GJK support direction 2016-07-06 06:48:19 +02:00
Daniel Chappuis
da9f6ae233 Remove Simplex class (replaced by VoronoiSimplex) 2016-07-05 22:02:16 +02:00
Daniel Chappuis
4bad013c91 Make GJK/EPA collision detection more robust 2016-07-05 21:34:44 +02:00