test update

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.
This commit is contained in:
Irlan
2018-05-18 19:35:16 -03:00
parent 66228785fc
commit 2f383fb958
4 changed files with 212 additions and 108 deletions

View File

@ -58,16 +58,16 @@
#include <testbed/tests/varying_friction.h>
#include <testbed/tests/varying_restitution.h>
#include <testbed/tests/tumbler.h>
#include <testbed/tests/single_pendulum.h>
#include <testbed/tests/multiple_pendulum.h>
#include <testbed/tests/cloth_test.h>
#include <testbed/tests/spring_cloth_test.h>
#include <testbed/tests/spring_cloth.h>
#include <testbed/tests/spring_cloth_collision_test.h>
#include <testbed/tests/spring_cloth_contact.h>
#include <testbed/tests/mass_types.h>
#include <testbed/tests/tension_mapping.h>
#include <testbed/tests/single_pendulum.h>
#include <testbed/tests/rope_test.h>
#include <testbed/tests/mass_spring.h>
#include <testbed/tests/shift_center.h>
TestEntry g_tests[] =
{
@ -111,15 +111,15 @@ TestEntry g_tests[] =
{ "Varying Restitution", &VaryingRestitution::Create },
{ "Tumbler", &Tumbler::Create },
{ "Initial Overlap", &InitialOverlap::Create },
{ "Single Pendulum", &SinglePendulum::Create },
{ "Multiple Pendulum", &MultiplePendulum::Create },
{ "Cloth", &Cloth::Create },
{ "Spring Cloth", &SpringCloth::Create },
{ "Spring Cloth Collision", &SpringClothCollision::Create },
{ "Tension Mapping", &TensionMapping::Create },
{ "Rope", &Rope::Create },
{ "Mass-Spring System", &MassSpring::Create },
{ "Shift Center", &ShiftCenter::Create },
{ "Spring Cloth", &SpringCloth::Create },
{ "Spring Cloth Contact", &SpringClothContact::Create },
{ "Mass Types", &MassTypes::Create },
{ "Tension Mapping", &TensionMapping::Create },
{ "Single Pendulum", &SinglePendulum::Create },
{ "Rope", &Rope::Create },
{ NULL, NULL }
};