480 Commits

Author SHA1 Message Date
Irlan
c28069680e Put quaternion constraint stuff inside namespace 2019-04-30 10:40:49 -03:00
Irlan
c71b6edc72 Put quaternion constraint stuff inside namespace 2019-04-30 10:10:15 -03:00
Irlan
7d4bb26145 Don't allocate edge-vertex pairs if subdivision is zero 2019-04-23 10:43:54 -03:00
Irlan
262cd50523 Output all memory counters 2019-04-23 10:32:27 -03:00
Irlan
25b7ce3f40 Output iterations on initial overlap and decrease tolerance 2019-04-23 05:45:47 -03:00
Irlan
d02a1f512e Removed maximum iteration count as the unilateral root solver might take a large number of iterations to converge. 2019-04-23 04:28:36 -03:00
Irlan
5c90059689 Optimization 2019-04-22 17:11:42 -03:00
Irlan
a5a49df8c1 Begin pointer can change after reallocation 2019-04-22 14:38:51 -03:00
Irlan
ecb4df45f4 Array pointers can change after reallocation 2019-04-22 14:33:59 -03:00
Irlan
d2d8ade611 Rollback 2019-04-22 13:07:00 -03:00
Irlan
c6a3e47176 Consistency 2019-04-21 16:32:40 -03:00
Irlan
490a2963df Mesh generation to everybody
Add cylinder mesh generation
Mesh generation can be used by everyone
Mesh generation also gives vertex normals for convenience
2019-04-21 16:06:51 -03:00
Irlan
77ad799d94 Add comment 2019-04-20 13:57:12 -03:00
Irlan
1e85ea0a36 Handle case where subdivision in zero 2019-04-20 13:51:03 -03:00
Irlan
323ba37b73 Use a octosphere instead of a icosahedron 2019-04-20 13:45:18 -03:00
Irlan
34c5d6f157 Remove some duplicated code. 2019-04-20 13:27:28 -03:00
Irlan
23fa2bd162 Bugfix 2019-04-20 11:54:33 -03:00
Irlan
9c16391700 Optimize sphere mesh 2019-04-20 11:52:17 -03:00
Irlan
3adebe68c2 Removed a condition which isn't reached during the sphere mesh generation. 2019-04-19 09:58:02 -03:00
Irlan
14f6b279d2 Remove SPHERE_MESH_H after #endif. 2019-04-19 08:31:35 -03:00
Irlan
077d1eead5 Use assert instead of B3_ASSERT. 2019-04-19 08:31:08 -03:00
Irlan
3e922fc4ec Merge branch 'master' of https://github.com/irlanrobson/bounce 2019-04-18 19:44:18 -03:00
Irlan
399a6efc72 Use sphere mesh. Add soft body test. 2019-04-18 19:44:12 -03:00
Irlan
695514989e Removed a large cloth radius. The particle radius should be used to avoid visual artifacts and is a small value in typical situations. 2019-04-18 18:51:49 -03:00
Irlan
2f9abcbe92 Applied a bugfix on constraint solver and removed some frozen code 2019-04-18 18:48:10 -03:00
Irlan
923a069408 Allow moving while jumping. Disable gravity when grounded. Change some parameters. 2019-04-18 11:05:13 -03:00
Irlan
36f2484663 Assert triangle area against zero instead of epsilon 2019-04-18 11:03:28 -03:00
Irlan
df33dd5cab Setter and getter for spring mode cloth dragging 2019-04-18 11:02:04 -03:00
Irlan Robson
5c2cc41254
Update license.txt 2019-04-14 11:24:16 -03:00
Irlan Robson
255f7363cb
Update license.txt 2019-04-14 11:23:29 -03:00
Irlan
5b95cb4e1f Equal instad of less than or equal 2019-04-10 08:26:19 -03:00
Irlan
d34fce1e4d Just equal instead of less than or equal 2019-04-10 08:15:55 -03:00
Irlan
8950df2ef6 Fix #48 2019-04-10 08:03:06 -03:00
Irlan
8352e29847 Remove comment 2019-04-09 16:26:14 -03:00
Irlan
daacb4fde7 Update premake5.lua 2019-04-08 15:38:41 -03:00
Irlan
6aa677e133 Removed profiler listener 2019-04-08 13:53:35 -03:00
Irlan
7ed4166f0c Remove code 2019-04-07 08:07:34 -03:00
Irlan
1ef6d46d33 Add a statistical profiler. Also applied a bugfix b3Profiler.
- This is a compact hierarchical profiler which also stores node statistics
- Might need to use a hash-table to lookup statistic for node because each frame trees are build
2019-04-06 18:06:20 -03:00
Irlan
ff535f9f7b Unset if 2019-04-04 14:02:37 -03:00
Irlan
d863741587 Add more code for completeness 2019-04-04 14:00:40 -03:00
Irlan
e32c2e61ee Update shirt.h 2019-04-04 10:35:13 -03:00
Irlan
00ae0296e7 Applied a bugfix. 2019-04-04 10:12:56 -03:00
Irlan
4407e31d8a Draw the profiler tree. 2019-04-03 19:12:17 -03:00
Irlan
7c15a8eaf8 Fit windows to content 2019-04-03 19:02:21 -03:00
Irlan
62838a4887 Assert some code 2019-04-03 15:33:56 -03:00
Irlan
dbc5b189c7 Add sewing lines to pattern mesh for completeness. 2019-04-03 14:53:10 -03:00
Irlan
b4d3330579 Caching impulses for b3BodyContact has been added. Also added some code for completeness. 2019-04-03 11:05:21 -03:00
Irlan
397a8eeee3 remove dead structure 2019-04-02 12:52:13 -03:00
Irlan
f86ec88adf removed unused code 2019-04-02 12:48:49 -03:00
Irlan
756c4d354a remove some inefficient code, add some test code 2019-04-02 12:30:29 -03:00