Commit Graph

672 Commits

Author SHA1 Message Date
Daniel Chappuis
f38803d75a Fix some warnings 2013-03-17 17:07:09 +01:00
Daniel Chappuis
f94b33bace Modify the falling cubes example to make it work with the new version of reactphysis3d 2013-03-17 16:45:48 +01:00
Daniel Chappuis
96a0680a67 Modify the LICENSE file for the ZLib license 2013-03-17 16:44:52 +01:00
Daniel Chappuis
dac5a2729a Do not compute the AABB of a sphere by rotating its extents 2013-03-14 22:47:59 +01:00
Daniel Chappuis
6731ed8be0 Merge branch test_mathematics into develop 2013-03-13 22:51:27 +01:00
Daniel Chappuis
95d6387d5b Modify CMakeLists.txt 2013-03-13 22:38:43 +01:00
Daniel Chappuis
409bbdaba5 Add header in the ContactSolver.cpp file 2013-03-13 20:56:53 +01:00
Daniel Chappuis
669ca8ecca Add methods in the mathematics classes 2013-03-13 20:55:10 +01:00
Daniel Chappuis
a3c6fa07e8 Add unit tests for the mathematics classes 2013-03-13 20:52:59 +01:00
Daniel Chappuis
02a3cd2db8 Modify CMakeLists.txt file to compile the tests 2013-03-09 08:40:22 +01:00
Daniel Chappuis
999bef7c8d Add definition to avoid redefinition of min() and max() macros when including windows.h on Windows 2013-03-09 08:39:09 +01:00
Daniel Chappuis
8107bbab8e Modify the epsilon parameter of the approxEqual() method 2013-03-09 08:37:40 +01:00
Daniel Chappuis
bd0561acd9 Remove the isParallelWith() method in Vector3 2013-03-09 08:37:10 +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
Daniel Chappuis
5f78143341 Merge branch 'develop' of https://code.google.com/p/reactphysics3d into develop 2013-03-05 23:17:38 +01:00
Daniel Chappuis
04a31c696c Add Doxygen documentation into the code 2013-03-05 23:09:50 +01:00
Daniel Chappuis
489eea3f36 Add file to generate Doxygen documentation 2013-03-04 22:06:43 +01:00
Daniel Chappuis
03cddcf568 Access std::map using find() method 2013-03-03 16:36:07 +01:00
Daniel Chappuis
b43f875cef Improve GJK robustness for spheres by integrating the radius into the object margin 2013-03-03 16:24:46 +01:00
Daniel Chappuis
5a373cf27b Clean the code and modify the date in the license text 2013-03-02 16:26:18 +01:00
Daniel Chappuis
4346a16f62 Replace the 0 constant by the NULL pointer in CollisionDetection.cpp 2013-02-28 23:18:48 +01:00
Daniel Chappuis
db23fd0000 Merge branch 'develop' of https://code.google.com/p/reactphysics3d into develop 2013-02-28 22:40:06 +01:00
Daniel Chappuis
c63284a432 Merge branch 'mathematics_optimization' into develop 2013-02-28 22:34:50 +01:00
Daniel Chappuis
ef93134c79 Make some modifications in the mathematics library 2013-02-28 20:03:37 +01:00
Daniel Chappuis
31e6ed2d8a Replace the 0 constant by NULL when using pointers 2013-02-28 19:50:52 +01:00
Daniel Chappuis
fe88e68e73 Improve robustness by using correct machine epsilon value test 2013-02-27 23:10:54 +01:00
Daniel Chappuis
cdc384db68 Make possible to access Vector3 members by using x,y and z instead of getX(), getY() and getZ() 2013-02-27 22:10:10 +01:00
Daniel Chappuis
33a084c816 Merge branch 'sequentialimpulse2' into develop 2013-02-26 22:45:01 +01:00
Daniel Chappuis
a362171532 Clean the code of the sequential impulse contact solver 2013-02-26 22:43:45 +01:00
Daniel Chappuis
b36f2c93b1 Merge branch 'outside_velocities' into sequentialimpulse2 2013-02-26 08:21:15 +01:00
Daniel Chappuis
9e499be150 Move the constrained velocities outside the contact solver 2013-02-26 08:15:58 +01:00
Daniel Chappuis
aa236286de Remove files 2013-02-19 23:16:48 +01:00
Daniel Chappuis
e84f6468c8 Clean the code 2013-02-19 23:16:20 +01:00
Daniel Chappuis
0695b30704 Make possible to solve the friction constraints at the center of the contact manifold 2013-02-16 16:14:04 +01:00
Daniel Chappuis
8cde68f5b9 Implement the split impulse technique for position correction 2013-01-31 22:42:11 +01:00
Daniel Chappuis
d546d8208f Use first friction vector in the direction of the tangential velocity 2013-01-27 10:38:41 +01:00
Daniel Chappuis
2d0da2cc1c Clean up the code and change the warmstart() method 2013-01-17 23:13:18 +01:00
Daniel Chappuis
9cf672c51c Don't use the contact.B_sp fields anymore in the solveLCP() method and fix bug with contact.r2CrossN that were not initialized in the constraint solver 2013-01-16 19:47:49 +01:00
Daniel Chappuis
5c941cf88b Continue to implement the Sequential Impulse solver 2013-01-16 13:23:37 +01:00
Daniel Chappuis
1bcec415a1 Continue to transform PGS solver into the sequential impulse solver 2013-01-06 19:28:56 +01:00
Daniel Chappuis
e4d47ded09 Change the way we solve the linear system 2012-12-30 12:45:06 +01:00
Daniel Chappuis
a70e0655c5 Use Vector3 type into the a[] array 2012-12-29 14:15:07 +01:00
Daniel Chappuis
f2f168f6c8 Change the way to compute the inverse constraint matrix K for the friction constraints 2012-12-29 00:05:44 +01:00
Daniel Chappuis
158c19541b Add methods to get the friction vectors of the contact 2012-12-26 02:18:51 +01:00
Daniel Chappuis
e64cac4571 Start to compute the inverse mass matrix K for the friction constraints 2012-12-26 02:15:49 +01:00
Daniel Chappuis
3872e9615c Use unit friction vectors 2012-12-25 17:35:52 +01:00
Daniel Chappuis
91d148e311 Change the way to compute the inverse constraint matrix K for the penetration constraint 2012-12-25 13:03:06 +01:00
Daniel Chappuis
c8d216aafe Use Vector3 inside the V1 array 2012-12-21 11:33:11 +01:00
Daniel Chappuis
d6b3b18aee Use vectors in the Vconstraint array 2012-12-21 11:00:13 +01:00