diff --git a/examples/testbed/framework/test_entries.cpp b/examples/testbed/framework/test_entries.cpp index 5f4d116..d44b574 100644 --- a/examples/testbed/framework/test_entries.cpp +++ b/examples/testbed/framework/test_entries.cpp @@ -66,7 +66,7 @@ #include #include #include -#include +#include #include #include @@ -119,7 +119,7 @@ TestEntry g_tests[] = { "Particle Types", &ParticleTypes::Create }, { "Tension Mapping", &TensionMapping::Create }, { "Self-Collision", &SelfCollision::Create }, - { "Soft Body", &SoftBody::Create }, + { "Beam", &Beam::Create }, { "Pinned Soft Body", &PinnedSoftBody::Create }, { "Smash Soft Body", &SmashSoftBody::Create }, { "Rope", &Rope::Create }, diff --git a/examples/testbed/tests/softbody.h b/examples/testbed/tests/beam.h similarity index 96% rename from examples/testbed/tests/softbody.h rename to examples/testbed/tests/beam.h index fbcad0d..6a0a913 100644 --- a/examples/testbed/tests/softbody.h +++ b/examples/testbed/tests/beam.h @@ -16,15 +16,15 @@ * 3. This notice may not be removed or altered from any source distribution. */ -#ifndef SOFTBODY_H -#define SOFTBODY_H +#ifndef BEAM_H +#define BEAM_H #include -class SoftBody : public Test +class Beam : public Test { public: - SoftBody() + Beam() { // Create soft body b3SoftBodyDef def; @@ -83,7 +83,7 @@ public: m_bodyDragger = new b3SoftBodyDragger(&m_ray, m_body); } - ~SoftBody() + ~Beam() { delete m_bodyDragger; delete m_body; @@ -148,7 +148,7 @@ public: static Test* Create() { - return new SoftBody(); + return new Beam(); } b3BlockSoftBodyMesh<5, 2, 2> m_mesh;