Commit Graph

83 Commits

Author SHA1 Message Date
Daniel Chappuis
d55c7e3b91 Fix memory leaks in tests 2018-03-29 07:40:24 +02:00
Daniel Chappuis
b1e5c029f7 Merge branch 'logs' into develop 2018-03-28 22:55:32 +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
80996d617a Fix issues in unit test for List 2018-03-16 07:57:06 +01: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
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
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
301823729d Remove the use of std::vector 2018-01-20 17:30:36 +01:00
Daniel Chappuis
b1ecfb0fed Working on containers (List, Map) 2018-01-19 07:55:55 +01:00
Daniel Chappuis
ceb27760cb Working on containers 2018-01-14 10:47:39 +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
4f76553c59 Many small optimizations 2017-12-04 22:14:52 +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
f403a6e804 Add temporal coherence for convex vs triangle collision detection 2017-11-22 22:43:27 +01:00
Daniel Chappuis
4a37ba3994 Add unit tests for the TriangleVertexArray 2017-10-09 23:34:35 +02:00
Daniel Chappuis
946e62dd4b Remove unnecessary collision margin for some shapes 2017-09-03 19:06:02 +02:00
Daniel Chappuis
e725af80b6 Update raycasting test code for convex mesh and remove commented code 2017-08-22 07:38:22 +02:00
Daniel Chappuis
0ec21e36b9 Working on SAT algorithm between two polyhedra 2017-05-16 07:10:44 +02:00
Daniel Chappuis
f61fea8b8a Add clippling segment/polygons methods, fix issues and add convex vs capsule algorithm 2017-04-16 22:09:59 +02:00
Daniel Chappuis
050e8b36dc Refactor convex mesh shape (create PolyhedronMesh, ConvexPolyhedron classes) 2017-03-22 19:07:31 +01:00
Daniel Chappuis
6a01abfae8 Fix issues, work on HalfEdgeStructure and add unit tests 2017-02-20 17:11:13 +02: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
c7e977250d Update tests of collision world according to changes in collision detection 2017-01-09 21:34:31 +01: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
2640fbd48a Start replacing NULL constant by nullptr 2016-05-15 19:25:58 +02:00
Daniel Chappuis
8a75c867a5 Change version number of the library 2016-04-11 20:15:20 +02:00
Daniel Chappuis
fcadbed56f Fix issue in function to compute triangle barycentric coordinates 2016-04-02 02:50:32 +02:00
Daniel Chappuis
bffbd66c54 Fix precision issue in unit tests 2016-04-02 02:26:20 +02:00
Daniel Chappuis
f22db4b4ed Fix issues and add unit tests 2016-04-02 01:51:41 +02:00
Daniel Chappuis
97fd840150 Fix pointer error in raycast unit test 2016-03-30 23:17:20 +02:00
Daniel Chappuis
59b237e992 Add unit tests for Dynamic AABB tree 2016-03-30 07:10:15 +02:00
Daniel Chappuis
274483aee2 Add raycasting unit tests for ConcaveMeshShape and HeightFieldShape 2016-03-26 14:22:49 +01:00
Daniel Chappuis
1fbdb90040 Add (empty) unit tests for DynamicAABBTree 2016-02-14 20:55:40 +01:00
Daniel Chappuis
4931e1450a Fix issues in HeightFieldShape 2016-02-08 22:24:57 +01:00
Daniel Chappuis
04e628b61a Add unit test for maths functions and fix unit test of AABB 2016-01-28 17:39:27 +01:00
Daniel Chappuis
03a31e44f3 Working on HeightFieldShape 2016-01-21 22:27:52 +01:00
Daniel Chappuis
739e0fec73 Modifications in methods to get support point in many collision shapes 2016-01-14 21:24:21 +01:00
Daniel Chappuis
a12703b86d Make possible to create a ConvexMeshShape using a TriangleVertexArray 2016-01-07 23:04:39 +01:00
Daniel Chappuis
926fd1d352 Add unit test for the AABB class 2015-12-08 18:27:03 +01:00
Daniel Chappuis
9c7f70b9b7 Add double sided raycast test for TriangleShape, add unit tests 2015-12-05 17:51:07 +01:00
Daniel Chappuis
6ebad66acf Working on triangles mesh raycasting 2015-12-02 22:25:52 +01:00
Daniel Chappuis
3476f3e9c4 Add setLocalScaling() method to CollisionShape and ProxyShape and fix issue in collision detection test method 2015-11-19 07:20:43 +01:00