git subrepo clone --branch=sono6good https://github.com/essej/JUCE.git deps/juce
subrepo: subdir: "deps/juce" merged: "b13f9084e" upstream: origin: "https://github.com/essej/JUCE.git" branch: "sono6good" commit: "b13f9084e" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
This commit is contained in:
125
deps/juce/examples/Assets/Box2DTests/TestEntries.cpp
vendored
Normal file
125
deps/juce/examples/Assets/Box2DTests/TestEntries.cpp
vendored
Normal file
@ -0,0 +1,125 @@
|
||||
/*
|
||||
* 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"
|
||||
|
||||
TestEntry g_testEntries[] =
|
||||
{
|
||||
{"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}
|
||||
};
|
Reference in New Issue
Block a user