493 Commits

Author SHA1 Message Date
Irlan
72ded5edb0 simplification 2018-04-21 15:19:44 -03:00
Irlan
97c092f136 remove unused code 2018-04-21 13:13:07 -03:00
Irlan
2f202ef9f1 optimization 2018-04-21 13:10:45 -03:00
Irlan
97ee209bb6 api stuff, bugfix, comment 2018-04-21 13:10:10 -03:00
Irlan
1c71bbaa90 remove unecessary instructions 2018-04-21 02:51:12 -03:00
Irlan
125cebaefb remove function prototype that would come in on output preparation 2018-04-20 23:39:55 -03:00
Irlan
4ebe826eea remove quickhull array dependency (except for drawing) 2018-04-20 23:37:59 -03:00
Irlan
bd4ca5d143 fix assert 2018-04-20 22:31:03 -03:00
Irlan
57a0809bcb optimization 2018-04-20 22:12:41 -03:00
Irlan
1f3fe9f873 optimize conversion 2018-04-20 19:24:01 -03:00
Irlan
ece8cea0c7 move qhull limits inside base class 2018-04-20 19:23:36 -03:00
Irlan
63f034535e erase dep, constexpr, cleanup 2018-04-20 19:22:20 -03:00
Irlan
43f59409de generate convex hull/cluster using 'G' while the tests are running 2018-04-20 03:13:16 -03:00
Irlan
c413f4d8aa inline a piece of code 2018-04-20 03:11:18 -03:00
Irlan
f7364b70a6 remove old includes 2018-04-20 03:10:45 -03:00
Irlan
a6faeed545 zero convex hull counters 2018-04-20 03:09:28 -03:00
Irlan
231b9c29d0 contact cluster return number of iterations 2018-04-20 03:08:21 -03:00
Irlan
ffed35d10a cleanup hull validation 2018-04-20 01:23:08 -03:00
Irlan
0e0438e0a9 assert 2018-04-19 20:23:43 -03:00
Irlan
a4f861a93a make centroid computation more robust too 2018-04-19 19:54:32 -03:00
Irlan
7d71713bea store hull features on the stack 2018-04-19 19:42:37 -03:00
Irlan
18f4e59518 make hull inertia more robust
Use a point inside the hull as the reference point.

Of course, had to shift the inertia to the local center of mass then to the world body origin.
2018-04-19 15:06:31 -03:00
Irlan
6d76caad1d move capsule inertia to the body frame
With this bugfix capsule motions are realistic.
2018-04-19 03:21:50 -03:00
Irlan
efae0fc202 use unsigned integers instead of integers in some collision code 2018-04-18 17:20:39 -03:00
Irlan
235b59a560 typo 2018-04-18 14:41:48 -03:00
Irlan
d497fa4a23 typo 2018-04-18 14:30:19 -03:00
Irlan
16f5707c86 rename tests 2018-04-18 01:34:23 -03:00
Irlan
4576f32a7c rename test 2018-04-18 01:13:04 -03:00
Irlan
c5aab69eb9 filter build option by toolset as well 2018-04-17 23:12:03 -03:00
Irlan
849133a75e typo 2018-04-17 14:07:20 -03:00
Irlan
46a0f2497e optimization 2018-04-17 03:21:02 -03:00
Irlan
75fe47b453 comment, bugfix, and simplification 2018-04-17 03:11:35 -03:00
Irlan
9b01af3d70 typo 2018-04-17 02:38:01 -03:00
Irlan
1bb6eb9649 typos 2018-04-17 02:33:48 -03:00
Irlan
01eea90b3c typos 2018-04-17 02:29:37 -03:00
Irlan
7d1c0ab017 typo 2018-04-17 02:19:04 -03:00
Irlan
eb428d169f typo 2018-04-17 02:03:28 -03:00
Irlan
bfb2665930 rewrite hull inertia computation 2018-04-17 02:00:21 -03:00
Irlan
b85556a375 update tests 2018-04-17 01:59:14 -03:00
Irlan
28367b8108 add b3QHull object
b3QHull allows users to create hull shapes from a list of points quickly. Example usage:

vec3* points = 0;
uint count = create_points(points);

b3QHull hull;
hull.Set(points, count);
2018-04-17 01:58:36 -03:00
Irlan
5e0a010881 cleanup quickhull 2018-04-17 01:53:36 -03:00
Irlan
fd04c35886 scale integrals before adding 2018-04-13 23:39:10 -03:00
Irlan
151ce1f385 rewrite hull inertia
Rewrite the algorithm that calculates the inertia tensor for a hull, inner loops

Also add a reference explaining the derivation
2018-04-13 22:06:04 -03:00
Irlan
4570c971c0 use mvvm
Switch the Testbed GUI architecture pattern to MVVM (Model-View-ModelView).
2018-04-13 14:18:02 -03:00
Irlan
b9b23de3a0 unused 2018-04-12 23:01:10 -03:00
Irlan
960dfd6298 unrelate view and model 2018-04-12 22:59:41 -03:00
Irlan
9ae1a9a627 remove include 2018-04-12 19:31:22 -03:00
Irlan
9d271cc5ed use mvp
Switch from MVC (Model-View-Controller) pattern to a modified MVP (Model-View-Presenter) pattern, to toss out the inconvenient Controller
2018-04-12 19:25:00 -03:00
Irlan
7bec2853b1 Merge branch 'master' of https://github.com/irlanrobson/bounce 2018-04-12 16:48:47 -03:00
Irlan Robson
a638557c67
update 2018-04-12 16:47:42 -03:00