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
5e0a010881
cleanup quickhull
2018-04-17 01:53:36 -03:00
fd04c35886
scale integrals before adding
2018-04-13 23:39:10 -03:00
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
4570c971c0
use mvvm
...
Switch the Testbed GUI architecture pattern to MVVM (Model-View-ModelView).
2018-04-13 14:18:02 -03:00
b9b23de3a0
unused
2018-04-12 23:01:10 -03:00
960dfd6298
unrelate view and model
2018-04-12 22:59:41 -03:00
9ae1a9a627
remove include
2018-04-12 19:31:22 -03:00
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
7bec2853b1
Merge branch 'master' of https://github.com/irlanrobson/bounce
2018-04-12 16:48:47 -03:00
a638557c67
update
2018-04-12 16:47:42 -03:00
4de6bd50a2
inform about the controls
2018-04-12 16:47:06 -03:00
b015127ea8
put info in correct place
2018-04-12 15:53:33 -03:00
52e15063ac
rewrite, simplify
2018-04-12 15:38:13 -03:00
e5f49c53dd
undo commit
2018-04-12 15:05:16 -03:00
fd27a98876
typo
2018-04-12 15:01:20 -03:00
f8bb0cfc27
enumerate aabb vertices
2018-04-12 15:00:00 -03:00
144c9cfc99
draw, camera, test
...
Remove an unecessary function that draws a triangle using per-vertex coloring
Cut camera implementation and paste into draw.cpp
Use per-triangle tension mapping
2018-04-12 14:20:56 -03:00
2a370613a8
move definition
2018-04-12 12:41:59 -03:00
5cdafe9e8b
forward slashes
2018-04-12 12:40:06 -03:00
2af83c8bfc
guard
2018-04-12 01:52:29 -03:00
eb698f146a
testbed, tests, ui
2018-04-12 01:50:22 -03:00
3c8af0060a
ui, camera
2018-04-11 03:06:13 -03:00
959ce6d92a
update ui, tests
2018-04-10 22:19:03 -03:00
3e75b1f650
rename a label
2018-04-10 18:49:35 -03:00
7ca7c1552c
fix ray-cast test drawing
2018-04-10 13:54:08 -03:00
5441592c48
move a header file
2018-04-10 01:40:13 -03:00
23d810e927
license
2018-04-10 01:02:56 -03:00
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
59a993af18
add missing implementation
2018-04-09 02:46:05 -03:00
49f7b2f728
add tension mapping test
2018-04-08 21:38:09 -03:00
052a85eb53
update tests
...
Allow dragging a spring cloth in all spring cloth tests related to the spring cloth
Use gravity acceleration in Earth in all spring cloth tests
2018-04-08 21:37:30 -03:00
5342361a5d
use gravity
2018-04-08 00:13:29 -03:00
63bc6c8674
rewrite profiler
2018-04-07 21:15:04 -03:00
9bb4314cea
test update
2018-04-07 21:14:34 -03:00
6dd32061d7
rename contact areas to contact polygons
2018-04-07 01:34:11 -03:00
54202454ea
rename contact areas to contact polygons
2018-04-07 01:28:48 -03:00
5401e8aba2
cleanup
2018-04-06 22:07:35 -03:00
8e615d3ca4
typo
2018-04-06 21:58:00 -03:00
62e12d6205
cleanup
2018-04-06 21:54:13 -03:00
f11ec48adc
add a test solution for #33
2018-04-06 16:35:37 -03:00
0395904079
add comments
2018-04-06 16:32:19 -03:00
d657d649e3
rearrange some code
2018-04-05 23:36:21 -03:00
f26cd09f3a
update an example that misuses rotation locking functionality
2018-04-05 22:09:59 -03:00
85c14fa887
comment b3MassData members
2018-04-05 21:27:28 -03:00
ba3fb6deb6
bugfix in hull inertia
2018-04-05 19:23:47 -03:00
87b4efc6b5
ensure valid inertia tensors
2018-04-05 18:35:21 -03:00
f769edcec9
eliminate duplicated test creation
2018-04-05 18:33:44 -03:00
ef937c029b
add opengl 2.1 support, update imgui, update premake script
2018-04-04 15:06:15 -03:00
2b764021ff
fix grid generation code
2018-04-03 23:31:59 -03:00