The user can create a convex hull from a vertex format, not directly from a list of vertices. That's interesting because in some 3D engines convex hulls are typically created from a render mesh that might structure a vertex in different ways in the memory.
Test cloth mass type switching feature which allows the user to set some particles as static, kinematic, or dynamic.
Renamed SpringClothCollision to SpringClothContact for consistency.
Removed ShiftCenter test for visualizing the effects of external center of mass shifting. This probably must be moved into another folder since might scare the user.
Ordered some test entries such that experiments are the last defined. Those are not actually features of the library and probably must be removed from the testbed into a different project containing experiments.
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
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.