Commit Graph

8 Commits

Author SHA1 Message Date
8b775361a9 store tension action force inside spring, make spring output force and derivative for abstraction, cleanup 2018-05-25 00:00:07 -03:00
4ae3b7cc79 refactor cloth 2018-05-24 05:35:16 -03:00
109f23da49 add a small framework of garments, update the related tests 2018-05-23 03:54:02 -03:00
c022d0726d render cloth mesh triangle segments 2018-05-03 20:13:26 -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
eb698f146a testbed, tests, ui 2018-04-12 01:50:22 -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
49f7b2f728 add tension mapping test 2018-04-08 21:38:09 -03:00