Code

Project: jvfeatures

jvtypes.h      jvfeatures.h      chessSeg.cpp      jvtypes.cpp      jvtest.cpp      jvfeatures.cpp     

Project: Other

migrateMailbox.scpt.txt     

Project: Infinite HMM Tutorial

run.m      iHMM_tutorial.zip      HDP_HMM.m      README.txt      ConditionalProbabilityTable.m      HDP.m      HMMProblem.m      HMM.m     

Project: RRT

RRT.h      plot_output.py      RRT.tgz      rrt_test.cpp      RRT.cpp      BidirectionalRRT.cpp      AbstractRRT.cpp     

Project: Box2D_friction_mod

WheelConstraint.h      test_TopDownCar.py      b2FrictionJoint.h      python_friction_joint.patch      test_TopDownFrictionJoint.py      TestEntries.cpp      TopDownCar.h      b2FrictionJoint.cpp      box2d_friction_joint.patch     

Project: Dirichlet Process Mixture Tutorial

EM_GM.m      DP_Demo.m      DPMM.m      DP_Tutorial.zip      DirichletProcess.m      gaussian_EM.m     

Project: Arduino_Code

plot_ardunio_data.sh      Arduino_Code.zip      convert_range2D.py      arduino-serial.c      oscilloscope.sh      oscilloscope.pde      motordriver.pde      helicopter_controller.pde      accelerometer_test.pde      ranger_plane_sweep.pde      clodbuster_controller.pde      pwm_manual.pde      ranger_test.pde      servo_test.pde     

Project: ArduCom

arducom.py      setup.py     

Project: support

geshi.php      Protector.php     

Project: Cogent

CodePane.php      NotesPane.php      PicsPane.php      Cogent.php      PubsTable.php     
Click here to download "resources/code/Box2D_friction_mod/TestEntries.cpp"

resources/code/Box2D_friction_mod/TestEntries.cpp

/*
 * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
 *
 * This software is provided 'as-is', without any express or implied
 * warranty.  In no event will the authors be held liable for any damages
 * arising from the use of this software.
 * Permission is granted to anyone to use this software for any purpose,
 * including commercial applications, and to alter it and redistribute it
 * freely, subject to the following restrictions:
 * 1. The origin of this software must not be misrepresented; you must not
 * claim that you wrote the original software. If you use this software
 * in a product, an acknowledgment in the product documentation would be
 * appreciated but is not required.
 * 2. Altered source versions must be plainly marked as such, and must not be
 * misrepresented as being the original software.
 * 3. This notice may not be removed or altered from any source distribution.
 */


#include "../Framework/Test.h"
#include "../Framework/Render.h"

#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include "freeglut/freeglut.h"
#endif

#include <cstring>
using namespace std;

#include "AddPair.h"
#include "ApplyForce.h"
#include "BodyTypes.h"
#include "Breakable.h"
#include "Bridge.h"
#include "BulletTest.h"
#include "Cantilever.h"
#include "Car.h"
#include "ContinuousTest.h"
#include "Chain.h"
#include "CharacterCollision.h"
#include "CollisionFiltering.h"
#include "CollisionProcessing.h"
#include "CompoundShapes.h"
#include "Confined.h"
#include "DistanceTest.h"
#include "Dominos.h"
#include "DumpShell.h"
#include "DynamicTreeTest.h"
#include "EdgeShapes.h"
#include "EdgeTest.h"
#include "Gears.h"
#include "OneSidedPlatform.h"
#include "Pinball.h"
#include "PolyCollision.h"
#include "PolyShapes.h"
#include "Prismatic.h"
#include "Pulleys.h"
#include "Pyramid.h"
#include "RayCast.h"
#include "Revolute.h"
//#include "Rope.h"
#include "RopeJoint.h"
#include "SensorTest.h"
#include "ShapeEditing.h"
#include "SliderCrank.h"
#include "SphereStack.h"
#include "TheoJansen.h"
#include "Tiles.h"
#include "TimeOfImpact.h"
#include "Tumbler.h"
#include "VaryingFriction.h"
#include "VaryingRestitution.h"
#include "VerticalStack.h"
#include "Web.h"
#include "TopDownCar.h"
#include "WheelConstraint.h"

TestEntry g_testEntries[] =
{
                {"TopDownCar", TopDownCar::Create},
                {"WheelConstraint", TopDownWheel::Create},
                {"Tumbler", Tumbler::Create},
                {"Tiles", Tiles::Create},
                {"Dump Shell", DumpShell::Create},
                {"Gears", Gears::Create},
                {"Cantilever", Cantilever::Create},
                {"Varying Restitution", VaryingRestitution::Create},
                {"Character Collision", CharacterCollision::Create},
                {"Edge Test", EdgeTest::Create},
                {"Body Types", BodyTypes::Create},
                {"Shape Editing", ShapeEditing::Create},
                {"Car", Car::Create},
                {"Apply Force", ApplyForce::Create},
                {"Prismatic", Prismatic::Create},
                {"Vertical Stack", VerticalStack::Create},
                {"SphereStack", SphereStack::Create},
                {"Revolute", Revolute::Create},
                {"Pulleys", Pulleys::Create},
//              {"Polygon Shapes", PolyShapes::Create},
                //{"Rope", Rope::Create},
                {"Web", Web::Create},
                {"RopeJoint", RopeJoint::Create},
                {"One-Sided Platform", OneSidedPlatform::Create},
                {"Pinball", Pinball::Create},
                {"Bullet Test", BulletTest::Create},
                {"Continuous Test", ContinuousTest::Create},
                {"Time of Impact", TimeOfImpact::Create},
//              {"Ray-Cast", RayCast::Create},
                {"Confined", Confined::Create},
                {"Pyramid", Pyramid::Create},
                {"Theo Jansen's Walker", TheoJansen::Create},
//              {"Edge Shapes", EdgeShapes::Create},
                {"PolyCollision", PolyCollision::Create},
                {"Bridge", Bridge::Create},
                {"Breakable", Breakable::Create},
                {"Chain", Chain::Create},
                {"Collision Filtering", CollisionFiltering::Create},
                {"Collision Processing", CollisionProcessing::Create},
                {"Compound Shapes", CompoundShapes::Create},
                {"Distance Test", DistanceTest::Create},
                {"Dominos", Dominos::Create},
                {"Dynamic Tree", DynamicTreeTest::Create},
                {"Sensor Test", SensorTest::Create},
                {"Slider Crank", SliderCrank::Create},
                {"Varying Friction", VaryingFriction::Create},
                {"Add Pair Stress Test", AddPair::Create},
                {NULL, NULL}
};
 

About me

Pic of me