49 Commits

Author SHA1 Message Date
Irlan
922a5a0a74 Swap parameters 2019-06-14 10:46:22 -03:00
Irlan
bb3156c328 Update draw.h 2019-06-04 21:47:22 -03:00
Irlan
b277b8b588 Draw capsule in world space 2019-06-04 21:47:01 -03:00
Irlan
53e1f3a0be Bugfix 2019-06-04 21:35:11 -03:00
Irlan
56db3517f9 Draw solid stuff inside b3World 2019-06-04 20:56:51 -03:00
Irlan
43085c8cc1 Pushed code to draw a plane 2019-06-04 19:38:43 -03:00
Irlan
637199b5fd New feature: soft bodies! 2019-05-13 19:03:23 -03:00
Irlan
3e5ff2257a Add element write operator 2019-05-10 10:51:50 -03:00
Irlan
8950df2ef6 Fix #48 2019-04-10 08:03:06 -03:00
Irlan
1f65a9f79d update license headers 2019-02-26 16:41:28 -03:00
Irlan
e2a9084df1 convert transform to affine matrix 2018-09-23 13:20:57 -03:00
Irlan
cd17583f63 use function 2018-09-23 13:20:25 -03:00
Irlan
26b956720c remove unused function 2018-08-04 15:22:55 -03:00
Irlan
b18654c7a5 controllers, ray3 2018-06-29 15:40:12 -03:00
Irlan
5a64ffea65 separate inf and nan checks 2018-05-18 02:03:00 -03:00
Irlan
4804e48f0b fix nan/inf check function 2018-05-16 02:04:31 -03:00
Irlan
cd6c7e188a initialize time-step statistics in a world; rename profile function 2018-04-26 23:51:20 -03:00
Irlan
ece8cea0c7 move qhull limits inside base class 2018-04-20 19:23:36 -03:00
Irlan
efae0fc202 use unsigned integers instead of integers in some collision code 2018-04-18 17:20:39 -03:00
Irlan
bd09b243c2 use mvc for the testbed, update almost all tests, bugfixes, improvements, cleanup
Since I started altering the testbed for better maintainability, I prefered to drop this (tested) large change with a single commit. Some changes below:

Put some globals in their correct place,

Now Testbed uses the MVC pattern (Model-View Controller). This way it becomes better to maintain than using no pattern  in my opinion.

Fixed some bugs in the debug draw interface.

Of course, updated almost all tests because of the differences.

Update script.
2018-04-10 00:57:14 -03:00
Irlan
54202454ea rename contact areas to contact polygons 2018-04-07 01:28:48 -03:00
Irlan
615d243b14 separate square from rectangular matrices 2018-04-02 12:45:54 -03:00
Irlan
d36d6da3b4 fix #31 2018-03-28 15:06:21 -03:00
Irlan
8c2df2f70c add a function to find barycentric coordinates wrt. triangle 2018-03-28 01:22:09 -03:00
Irlan
6ee9213d04 bugfix 2018-03-26 18:16:34 -03:00
Irlan
dc73b414b3 bugfixes 2017-11-25 14:48:32 -02:00
Irlan
cd32a1c515 restored a file from 81f744b805ce4207cb69863b74edf1a817c44fb7 2017-11-25 13:16:40 -02:00
Irlan Robson
11596e5162
Return array capacity 2017-11-12 20:21:22 -02:00
Irlan
8640a80914 clean up compiler warnings 2017-05-31 12:24:57 -03:00
Irlan
c411bf341a add rope 2017-05-28 21:05:32 -03:00
Irlan
bd69458750 rename function, remove indirection, fix bug 2017-04-11 16:35:18 -03:00
Irlan
005d2bc117 fix last merge 2017-04-07 11:06:10 -03:00
Luke Benstead
3dee299ba9 Make B3_FORCE_INLINE compatible with non-VC++ compilers 2017-04-07 13:20:57 +01:00
Luke Benstead
0af16fae5a Include cstdlib to provide access to std::abs for integral types 2017-04-07 13:16:40 +01:00
Irlan
a683052e4c remove unecessary gjk duplication 2017-03-26 13:27:02 -03:00
Irlan
8defab9945 fix a lot of issues, add gyroscopic force integrator, add contact polygon winding, add some quaternion constraints, add more tests 2017-03-24 18:49:41 -03:00
Irlan
edd29d729a finish SAT optimization, calculate correct old sweep transform, remove unecessary static body transform update 2017-03-01 23:42:48 -03:00
Irlan
5cc72c5940 centralize profiler declaration 2017-02-28 20:47:45 -03:00
Irlan
71ee97aaa0 add hello world example and edit source tree 2017-02-27 18:59:58 -03:00
Irlan
091c99b5cf fix hull mass data calculation and make it more robust, bugfixes 2017-02-27 02:06:33 -03:00
Irlan
689425d9ef add event profiler, json profile dump, cleanup 2017-02-24 20:11:49 -03:00
Irlan
e1038cfb31 minor changes 2017-02-19 08:23:08 -03:00
Irlan
875cc5316b fix capsule drawing, add quaternion convenience functions 2017-02-18 18:34:17 -02:00
Irlan
012460f6b0 improve segment vs segment collision, small fixes 2017-02-17 13:52:24 -02:00
Irlan
a346a1472d improve friction quality, add shader-only support, improve debug drawing facilities, fix couple things 2017-02-07 14:31:52 -02:00
Irlan
d59b67c3c3 fix mesh size, decouple mesh topology from geometry, add polygon triangulation to make mass calculation O(n) in memory 2017-02-02 14:02:54 -02:00
Irlan Robson
7d0f06fea2 generate contact when body type changes at runtime, decoupling, add first ray cast hit query to world query (more to add later such as sphere/box/convex casts), hotfix 2017-01-13 17:17:02 -02:00
Irlan Robson
81f744b805 linux fixes, bugfixes, comments 2016-12-21 19:15:43 -02:00
Irlan Robson
8f29bc7e21 first commit 2016-12-18 18:39:47 -02:00