Commit Graph

73 Commits

Author SHA1 Message Date
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
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