本文整理汇总了Java中org.jbox2d.testbed.tests.ConveyorBelt类的典型用法代码示例。如果您正苦于以下问题:Java ConveyorBelt类的具体用法?Java ConveyorBelt怎么用?Java ConveyorBelt使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ConveyorBelt类属于org.jbox2d.testbed.tests包,在下文中一共展示了ConveyorBelt类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: populateModel
import org.jbox2d.testbed.tests.ConveyorBelt; //导入依赖的package包/类
public static void populateModel(TestbedModel model) {
// particles
model.addCategory("Particles");
model.addTest(new BulletTest());
model.addTest(new DamBreak());
model.addTest(new DrawingParticles());
model.addTest(new LiquidTimer());
model.addTest(new WaveMachine());
model.addTest(new Particles());
model.addCategory("Featured");
model.addTest(new DominoTest());
model.addTest(new Car());
model.addTest(new CompoundShapes());
model.addTest(new BlobTest4());
model.addTest(new TheoJansen());
// watching...
model.addCategory("Collision Watching");
model.addTest(new VaryingRestitution());
model.addTest(new VaryingFrictionTest());
model.addTest(new ConveyorBelt());
model.addTest(new SphereStack());
model.addTest(new Tumbler());
model.addTest(new PistonTest());
model.addTest(new PyramidTest());
model.addTest(new CircleStress());
model.addTest(new DominoTower());
// more interactive..
model.addCategory("Interactive");
model.addTest(new VerticalStack());
model.addTest(new Breakable());
model.addTest(new ShapeEditing());
model.addTest(new OneSidedTest());
model.addTest(new PolyShapes());
model.addTest(new BodyTypes());
model.addTest(new CharacterCollision());
model.addTest(new ApplyForce());
// processing/filtering
model.addCategory("Processing/Filtering");
model.addTest(new CollisionFiltering());
model.addTest(new CollisionProcessing());
model.addTest(new SensorTest());
// joints
model.addCategory("Joints");
model.addTest(new PrismaticTest());
model.addTest(new RevoluteTest());
model.addTest(new FixedPendulumTest(true));
model.addTest(new FreePendulumTest(true));
model.addTest(new MotorTest());
model.addTest(new Chain());
model.addTest(new RopeTest());
model.addTest(new Pulleys());
model.addTest(new Gears());
model.addTest(new Web());
model.addTest(new Cantilever());
model.addTest(new SliderCrankTest());
// ccd
model.addCategory("CCD");
model.addTest(new ContinuousTest());
model.addTest(new ConfinedTest());
// raycast
model.addCategory("Raycast");
model.addTest(new RayCastTest());
model.addTest(new EdgeShapes());
// misc
model.addCategory("Misc");
model.addTest(new ConvexHull());
model.addTest(new DynamicTreeTest());
model.addTest(new DistanceTest());
}
示例2: populateModel
import org.jbox2d.testbed.tests.ConveyorBelt; //导入依赖的package包/类
public static void populateModel(TestbedModel model) {
model.addCategory("Featured");
model.addTest(new Car());
model.addTest(new DominoTest());
model.addTest(new CompoundShapes());
model.addTest(new BlobTest4());
model.addTest(new TheoJansen());
// watching...
model.addCategory("Collision Watching");
model.addTest(new VaryingRestitution());
model.addTest(new VaryingFrictionTest());
model.addTest(new ConveyorBelt());
model.addTest(new SphereStack());
model.addTest(new Tumbler());
model.addTest(new PistonTest());
model.addTest(new PyramidTest());
model.addTest(new CircleStress());
model.addTest(new DominoTower());
// more interactive..
model.addCategory("Interactive");
model.addTest(new VerticalStack());
model.addTest(new Breakable());
model.addTest(new ShapeEditing());
model.addTest(new OneSidedTest());
model.addTest(new PolyShapes());
model.addTest(new BodyTypes());
model.addTest(new CharacterCollision());
model.addTest(new ApplyForce());
// processing/filtering
model.addCategory("Processing/Filtering");
model.addTest(new CollisionFiltering());
model.addTest(new CollisionProcessing());
model.addTest(new SensorTest());
// joints
model.addCategory("Joints");
model.addTest(new PrismaticTest());
model.addTest(new RevoluteTest());
model.addTest(new FixedPendulumTest(true));
model.addTest(new FreePendulumTest(true));
model.addTest(new Chain());
model.addTest(new RopeTest());
model.addTest(new Pulleys());
model.addTest(new Gears());
model.addTest(new Web());
model.addTest(new Cantilever());
model.addTest(new SliderCrankTest());
// ccd
model.addCategory("CCD");
model.addTest(new ContinuousTest());
model.addTest(new ConfinedTest());
// raycast
model.addCategory("Raycast");
model.addTest(new RayCastTest());
model.addTest(new EdgeShapes());
// misc
model.addCategory("Misc");
model.addTest(new ConvexHull());
model.addTest(new DynamicTreeTest());
model.addTest(new DistanceTest());
model.addTest(new LiquidTest());
}