Commit Graph

83 Commits

Author SHA1 Message Date
Daniel Chappuis
3df602edfa Refactor the way to create a logger and a profiler 2020-05-11 11:13:26 +02:00
Daniel Chappuis
e03ee08462 Rename Logger class to DefaultLogger and create abstract Logger class 2020-04-26 18:41:59 +02:00
Daniel Chappuis
a190bba8c0 Refactor where the headers are store for better installation of the library 2020-03-18 07:28:34 +01:00
Daniel Chappuis
cda466f9da Refactor the way to set/update the center of mass, mass and inertia tensor of a rigid body 2020-03-01 16:39:16 +01:00
Daniel Chappuis
28560d034e Add methods for the user to retrieve Colliders, CollisionBodies and RigidBodies 2020-02-17 17:36:44 +01:00
Daniel Chappuis
7477460e4f Make possible to resize the collision shapes after their creation 2020-02-11 21:56:42 +01:00
Daniel Chappuis
d36edcdb6e Rename DynamicsWorld class to PhysicsWorld 2020-01-27 17:46:00 +01:00
Daniel Chappuis
b0fde22678 Rename ProxyShape to Collider 2020-01-20 21:22:46 +01:00
Daniel Chappuis
815182aae9 Merge ecs into develop and fix conflicts 2019-11-27 22:14:29 +01:00
Daniel Chappuis
44e07e0bd9 Working on making middle-phase collision detection faster 2019-11-09 23:55:54 +01:00
Daniel Chappuis
2c2b75def7 Move local-to-world transform of ProxyShape into the ProxyShapeComponents 2019-10-15 20:29:22 +02:00
Daniel Chappuis
59cdc6b8f8 Take care of TODOs 2019-10-10 07:53:25 +02:00
Daniel Chappuis
9b38fc1626 Add DynamicsSystem class 2019-08-08 17:45:22 +02:00
Daniel Chappuis
db995ea52c Do not use callbacks for middle-phase collision detection 2019-08-04 23:24:48 +02:00
Daniel Chappuis
ca80d95d84 Add RigidBodyComponents class 2019-07-16 07:15:13 +02:00
Daniel Chappuis
569964e365 Remove Body class 2019-07-15 17:38:20 +02:00
Daniel Chappuis
16f564edea Move Body attributes to BodyComponents 2019-07-08 17:41:10 +02:00
Daniel Chappuis
236a855c8d Remove Body::mId attribute 2019-07-04 20:24:09 +02:00
Daniel Chappuis
f9fa2a227c Changes for release of version 0.7.1 2019-07-01 08:42:27 +02:00
Daniel Chappuis
ac0e620f02 Remove old code 2019-05-12 14:26:55 +02:00
Daniel Chappuis
e672c0d617 Refactor contacts and islands 2019-05-10 17:37:11 +02:00
Daniel Chappuis
d0fbab77ce Simplify broad-phase 2019-03-26 22:57:38 +01:00
Daniel Chappuis
1d6155aa6c Remove code to update proxy-shape broad-phase state from proxy-shape, move it to broad-phase system 2019-03-17 22:50:10 +01:00
Daniel Chappuis
ae076ad815 Handle disabled components 2019-03-16 08:40:50 +01:00
Daniel Chappuis
d02b25d32a The proxy-shapes are now entities 2019-03-15 17:27:11 +01:00
Daniel Chappuis
c5c7e81260 Add fields to ProxyShapesComponents 2019-01-14 18:35:51 +01:00
Daniel Chappuis
7d8f043cdb Replacing ProxyShape data by corresponding component data 2019-01-12 18:56:55 +01:00
Daniel Chappuis
449beaf7a6 Replacing ProxyShape data by corresponding component data 2019-01-11 17:34:30 +01:00
Daniel Chappuis
9fb8580830 Replacing ProxyShape data by corresponding component data 2019-01-11 07:38:55 +01:00
Daniel Chappuis
176186e126 Replacing ProxyShape data by corresponding component data 2019-01-11 07:25:35 +01:00
Daniel Chappuis
5a1d10a991 Add proxy-shapes mapping in ProxyShapesComponents 2019-01-10 07:41:10 +01:00
Daniel Chappuis
4e438d3ccc Add ProxyShapesComponents 2019-01-08 18:39:36 +01:00
Daniel Chappuis
3d892a6689 Handle sleeping bodies in TransformComponents 2018-12-28 22:15:34 +01:00
Daniel Chappuis
8b6249829a Add Transform component 2018-12-26 23:33:36 +01:00
Daniel Chappuis
fa9b1817fe Start working on ECS 2018-12-23 23:18:05 +01:00
Daniel Chappuis
681ebeba6b Update copyright date in license 2018-04-30 22:15:53 +02:00
Daniel Chappuis
d14e42be70 Refactor the way headers are included and use more forward declarations for faster compilation time 2018-04-20 07:13:39 +02:00
Daniel Chappuis
96c581ae9b Fix compilation warnings 2018-04-16 07:54:46 +02:00
Daniel Chappuis
100cdbc64a Working on logger 2018-03-28 22:55:02 +02:00
Daniel Chappuis
1bc50de2c9 Working on logger 2018-03-19 23:02:13 +01:00
Daniel Chappuis
261ffef616 Refactor memory allocation 2018-01-01 18:35:57 +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
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
6a69ef76c5 Fix issue with ProxyShape::mBroadPhaseId not set when body was sleeping or inactive 2017-11-01 23:07:56 +01:00
Daniel Chappuis
8b82c4ac81 Refactor the way to create the contact manifolds and contact points 2017-07-30 22:14:46 +02:00
Daniel Chappuis
e014f00afc Refactor memory allocator and refactor contact solver 2016-09-21 22:03:45 +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
d0481e0901 Fix compilation errors/warnings on Linux 2016-02-22 23:26:50 +01:00