107 Commits

Author SHA1 Message Date
Irlan
1ccb411fb6 typo 2018-05-18 19:39:22 -03:00
Irlan
66228785fc kinematic cloth 2018-05-18 19:26:49 -03:00
Irlan
5a64ffea65 separate inf and nan checks 2018-05-18 02:03:00 -03:00
Irlan
69ee19ffac simplify preconditioning the system matrix, bugfix 2018-05-16 16:18:00 -03:00
Irlan
d8826c751e correctly initiate/terminate contact constraints 2018-05-16 02:08:45 -03:00
Irlan
4804e48f0b fix nan/inf check function 2018-05-16 02:04:31 -03:00
Irlan
569a555bde allow toggling convex hull simplification at run-time in order to expected convex hull creation work 2018-05-12 21:56:11 -03:00
Irlan
096747a49d better face error handler 2018-05-12 19:58:34 -03:00
Irlan
6c136123d9 face merging control in convex hull simplification; more asserts; consistency; now user can pass arbitrary number of vertices to b3QHull 2018-05-11 03:14:17 -03:00
Irlan
0fc1751ca1 maintain essential topological invariants 2018-05-09 05:44:09 -03:00
Irlan
ba224cda73 rename function 2018-05-04 21:43:10 -03:00
Irlan
f6ba27cbf3 translate the hull; invalid catch 2018-05-03 21:43:38 -03:00
Irlan
9eb1a5b481 rename function 2018-05-03 20:13:51 -03:00
Irlan
883cc9059f make convex hull creation easier for the user 2018-05-01 04:49:53 -03:00
Irlan
6550a92e4b bugfix 2018-05-01 03:56:41 -03:00
Irlan
0add130eea rename function 2018-04-30 15:51:42 -03:00
Irlan
c9f0b0cf93 moved SAT code into collision module 2018-04-29 22:27:41 -03:00
Irlan
80ac01f13d abstraction 2018-04-29 00:06:24 -03:00
Irlan
a63ae74ef7 use hull vertex list 2018-04-27 04:18:13 -03:00
Irlan
abc5f59170 bugfix; operations 2018-04-27 03:32:20 -03:00
Irlan
bd490d7925 consistency 2018-04-27 02:38:38 -03:00
Irlan
c3b55d3323 consistency 2018-04-27 01:01:47 -03:00
Irlan
cd6c7e188a initialize time-step statistics in a world; rename profile function 2018-04-26 23:51:20 -03:00
Irlan
f882c8c68e fix #35; check edge validity; 2018-04-26 00:46:36 -03:00
Irlan
534448ea60 refactoring 2018-04-25 22:00:20 -03:00
Irlan
47c34ceda1 iteratively find the horizon, ensure ordered horizon 2018-04-24 21:53:11 -03:00
Irlan
77a193267f rollback function def 2018-04-22 20:22:34 -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
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
c413f4d8aa inline a piece of code 2018-04-20 03:11:18 -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
7d71713bea store hull features on the stack 2018-04-19 19:42:37 -03:00
Irlan
efae0fc202 use unsigned integers instead of integers in some collision code 2018-04-18 17:20:39 -03:00
Irlan
75fe47b453 comment, bugfix, and simplification 2018-04-17 03:11:35 -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
e5f49c53dd undo commit 2018-04-12 15:05:16 -03:00
Irlan
f8bb0cfc27 enumerate aabb vertices 2018-04-12 15:00:00 -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
49f7b2f728 add tension mapping test 2018-04-08 21:38:09 -03:00
Irlan
5342361a5d use gravity 2018-04-08 00:13:29 -03:00
Irlan
54202454ea rename contact areas to contact polygons 2018-04-07 01:28:48 -03:00
Irlan
0395904079 add comments 2018-04-06 16:32:19 -03:00
Irlan
85c14fa887 comment b3MassData members 2018-04-05 21:27:28 -03:00