Commit Graph

1057 Commits

Author SHA1 Message Date
Daniel Chappuis
ed179754f9 Merge branch 'sat' into optimization 2018-02-26 07:33:37 +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
f73e54bb6d Working on collision detection unit tests 2018-02-14 07:35:30 +01:00
Daniel Chappuis
1ac9bc3dba Working on collision detection unit tests 2018-02-13 07:20:00 +01:00
Daniel Chappuis
6dac7e0916 Fix issue with clipping methods 2018-02-11 14:42:11 +01:00
Daniel Chappuis
2146dd4427 Working on collision detection unit tests 2018-02-06 07:39:56 +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
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
Daniel Chappuis
27a451adcf Merge branch 'optimization' into develop 2018-01-14 11:05:21 +01:00
Daniel Chappuis
45e6a58fba Fix conflict 2018-01-14 10:59:09 +01:00
Daniel Chappuis
584b28a91c Add Cube stack scene in the testbed application 2018-01-14 10:51:38 +01:00
Daniel Chappuis
ceb27760cb Working on containers 2018-01-14 10:47:39 +01:00
Daniel Chappuis
261ffef616 Refactor memory allocation 2018-01-01 18:35:57 +01:00
Daniel Chappuis
3be2970d30 Merge branch 'sat_opti' into sat 2017-12-28 01:04:45 +01:00
Daniel Chappuis
8f126a75d6 Use List in HalfEdgeStructure with some changes in memory allocation 2017-12-27 20:53:09 +01:00
Daniel Chappuis
f2ee00ca68 Use List instead of std::vector compute segment clipping in SAT algorithm 2017-12-14 22:25:52 +01:00
Daniel Chappuis
47869627d1 Fix issue in Transform 2017-12-14 20:24:19 +01:00
Daniel Chappuis
7d20a746e9 Do not std::map to store mapping from rigid body to index in array 2017-12-14 15:09:56 +01:00
Daniel Chappuis
5392948518 Use inline constructors for mathematics objects (vectors, quaternion, matrices, ...) 2017-12-13 17:51:38 +01:00
Daniel Chappuis
2d0cb27538 Add List and DefaultAllocator classes 2017-12-12 22:53:00 +01:00
Daniel Chappuis
9066264189 Remove commented code 2017-12-12 22:36:19 +01:00
Daniel Chappuis
cf42e9f04c Optimizations in contact solver 2017-12-12 07:29:29 +01:00
Daniel Chappuis
9d761291d6 Small optimizations 2017-12-06 21:55:50 +01:00
Daniel Chappuis
4f76553c59 Many small optimizations 2017-12-04 22:14:52 +01:00
Daniel Chappuis
4cc024b85e Rename fields and methods in ContactPoint class 2017-11-29 23:43:55 +01:00
Daniel Chappuis
ebd715d2e0 Add data types 2017-11-28 17:53:50 +01:00
Daniel Chappuis
e754711a84 Remove unnecessary calls to Quaternion.getMatrix() 2017-11-28 17:46:45 +01:00
Daniel Chappuis
317dea90bd Remove Quaternion constructor with Euler angles and replace it by static fromEulerAngles() method 2017-11-28 17:26:13 +01:00
Daniel Chappuis
c8e9cca912 Compute the inverse quaternion using its conjugate 2017-11-26 12:07:58 +01:00
Daniel Chappuis
fea467f112 Add profiling in SAT algorithm methods 2017-11-25 17:51:14 +01:00
Daniel Chappuis
f09331c185 Remove unused cachedCollisionData variable 2017-11-22 22:58:31 +01:00
Daniel Chappuis
f403a6e804 Add temporal coherence for convex vs triangle collision detection 2017-11-22 22:43:27 +01:00
Daniel Chappuis
38bd462b91 Fix issue in SAT algorithm, use the correct penetration depth for each contact point 2017-11-13 18:42:39 +01:00
Daniel Chappuis
e9709c3db5 Refactor the Profiler. Now there is one profiler instance per CollisionWorld/DynamicsWorld instance instead of a static one 2017-11-10 19:57:50 +01:00
Daniel Chappuis
222636391e Use the true triangle face normal if contact is not on an edge in smooth triangle contact 2017-11-10 17:51:02 +01:00
Daniel Chappuis
de95e15147 Fix issue with the shape order in concave vs convex middle-phase collision detection 2017-11-08 21:28:00 +01:00
Daniel Chappuis
8bfa6dd137 Fix issue : the scaling factor was not used when recomputing AABB tree for concave mesh shape 2017-11-08 21:26:15 +01:00
Daniel Chappuis
013431487e Rename setScaling() to setLocalScaling() 2017-11-08 21:24:09 +01:00
Daniel Chappuis
b39bb3ba37 Initialize the timestep in the DynamicsWorld constructor 2017-11-08 21:14:21 +01:00
Daniel Chappuis
c6f9378997 Enable vsync in the testbed application 2017-11-08 21:13:02 +01:00
Daniel Chappuis
e91cded831 Update code documentation and fix warnings 2017-11-05 23:15:47 +01:00