Commit Graph

122 Commits

Author SHA1 Message Date
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
Daniel Chappuis
aab1413f4d Continue working of triangular meshes 2015-09-13 13:02:05 +02:00
Daniel Chappuis
cd808fcf62 Modify the way the collision shapes are created (we don't make an internal copy anymore) 2015-09-04 19:56:27 +02:00
Daniel Chappuis
7ce44f9775 Fix warnings 2015-08-17 06:44:26 +02:00
Daniel Chappuis
4030126f9f Modify CMakeLists file to automatically launch the tests 2015-07-12 12:11:20 +02:00
Daniel Chappuis
6679bb27bc Changes for the next release 2015-02-15 21:56:45 +01:00
Daniel Chappuis
7a8783d6a5 Fix issues in raycasting unit tests 2015-01-27 22:35:23 +01:00
Daniel Chappuis
c15b83db4a Add collision and raycast filtering using bits mask 2014-12-31 01:19:14 +01:00
Daniel Chappuis
aae4da54d0 Add methods to test collision and AABB overlap in physics world 2014-12-28 00:54:34 +01:00
Daniel Chappuis
3da146eb84 Implement world ray casting query 2014-11-04 22:38:40 +01:00
Daniel Chappuis
e9257ec56f Change raycasting so that a ray is given by two points instead of a point and a direction 2014-10-21 22:26:40 +02:00
Daniel Chappuis
08e286d27c Implement raycasting for cone shape 2014-10-08 21:38:40 +02:00
Daniel Chappuis
25c11c6d6a Implement raycasting for capsule shape 2014-09-20 17:00:32 +02:00
Daniel Chappuis
c07a2dc9a2 Implement raycasting with cylinder shape 2014-09-19 22:53:40 +02:00
Daniel Chappuis
a89b258418 Implement raycasting for the BoxShape 2014-09-08 23:19:07 +02:00
Daniel Chappuis
0dd55e716b Implement raycasting with sphere shape 2014-09-04 22:32:29 +02:00
Daniel Chappuis
677c694109 Continue the implementation of convex shape raycasting 2014-09-02 22:54:19 +02:00
Daniel Chappuis
79c126eac9 Add name in unit tests and fix some issues in Point Inside test 2014-08-09 10:27:41 +02:00
Daniel Chappuis
6c505377c5 Clean up the include statements 2014-08-07 21:38:31 +02:00
Daniel Chappuis
ab8656fc0b Remove all the special proxy shapes to keep only the ProxyShape class 2014-08-04 22:46:58 +02:00
Daniel Chappuis
bd5668ed51 Work on the testPointInside() method 2014-08-01 12:36:32 +02:00
Daniel Chappuis
7ea012d52d Add raycast tests 2014-07-27 12:42:57 +02:00
Daniel Chappuis
5dd9ee826e Add classes and tests for raycasting 2014-07-21 23:08:18 +02:00
Daniel Chappuis
046754c93d Add test class for the isPointInside() method 2014-07-13 18:13:49 -07:00
Daniel Chappuis
3aa05ef61a Fix issues and add conversion from Euler angles to Quaternion 2014-06-24 23:31:13 +02:00
Daniel Chappuis
1812402617 Add support for the different body types (static, kinematic, dynamic) 2013-11-21 23:24:11 +01:00
Daniel Chappuis
ce0078c2a9 Implement the non-linear-gauss-seidel position error correction 2013-06-26 22:28:31 +02:00
Daniel Chappuis
c4d6206ee2 Finish the implementation of the Hinge joint and some others modifications 2013-06-09 16:31:01 +02:00
Daniel Chappuis
8f37d4ac98 Fix issues in the unit tests for Vector2 and Matrix2x2 2013-05-16 21:42:13 +02:00
Daniel Chappuis
f23096af50 modify code in the Matrix2x2 class 2013-05-09 19:47:09 +02:00
Daniel Chappuis
7a2c2bdbd5 Add Vector2 and Matrix2x3 classes 2013-05-09 19:02:09 +02:00
Daniel Chappuis
c4eee4fb1f Implement the Ball-And-Socket joint 2013-05-02 22:41:57 +02:00
Daniel Chappuis
17e976ab6c Fix some compilations errors on Linux 2013-03-20 22:41:53 +01:00
Daniel Chappuis
4b320701c4 Fix issues in unit tests 2013-03-18 22:13:04 +01:00
Daniel Chappuis
a3c6fa07e8 Add unit tests for the mathematics classes 2013-03-13 20:52:59 +01:00
Daniel Chappuis
a178a3c0b9 Start to implement unit tests for the mathematics classes 2013-03-09 08:34:57 +01:00
Daniel Chappuis
e92343b118 Add files for tests 2013-03-06 07:30:33 +01:00