iPhoneTestEntries.mm
上传用户:gb3593
上传日期:2022-01-07
资源大小:3028k
文件大小:3k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. /*
  2.  * Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com
  3.  *
  4.  * This software is provided 'as-is', without any express or implied
  5.  * warranty.  In no event will the authors be held liable for any damages
  6.  * arising from the use of this software.
  7.  * Permission is granted to anyone to use this software for any purpose,
  8.  * including commercial applications, and to alter it and redistribute it
  9.  * freely, subject to the following restrictions:
  10.  * 1. The origin of this software must not be misrepresented; you must not
  11.  * claim that you wrote the original software. If you use this software
  12.  * in a product, an acknowledgment in the product documentation would be
  13.  * appreciated but is not required.
  14.  * 2. Altered source versions must be plainly marked as such, and must not be
  15.  * misrepresented as being the original software.
  16.  * 3. This notice may not be removed or altered from any source distribution.
  17.  */
  18. #include "iPhoneTest.h"
  19. //#include "GLES-Render.h"
  20. #include "ApplyForce.h"
  21. #include "BodyTypes.h"
  22. #include "Breakable.h"
  23. #include "Bridge.h"
  24. #include "CCDTest.h"
  25. #include "Chain.h"
  26. #include "CollisionFiltering.h"
  27. #include "CollisionProcessing.h"
  28. #include "CompoundShapes.h"
  29. #include "Confined.h"
  30. #include "DistanceTest.h"
  31. #include "Dominos.h"
  32. #include "DynamicTreeTest.h"
  33. #include "Gears.h"
  34. #include "LineJoint.h"
  35. #include "OneSidedPlatform.h"
  36. #include "PolyCollision.h"
  37. #include "PolyShapes.h"
  38. #include "Prismatic.h"
  39. #include "Pulleys.h"
  40. #include "Pyramid.h"
  41. #include "RayCast.h"
  42. #include "Revolute.h"
  43. #include "SensorTest.h"
  44. #include "ShapeEditing.h"
  45. #include "SliderCrank.h"
  46. #include "SphereStack.h"
  47. #include "TheoJansen.h"
  48. #include "TimeOfImpact.h"
  49. #include "VaryingFriction.h"
  50. #include "VaryingRestitution.h"
  51. #include "VerticalStack.h"
  52. #include "Web.h"
  53. TestEntry g_testEntries[] =
  54. {
  55. {"Body Types", BodyTypes::Create},
  56. {"CCD Test", CCDTest::Create},
  57. {"SphereStack", SphereStack::Create},
  58. {"Vertical Stack", VerticalStack::Create},
  59. {"Confined", Confined::Create},
  60. {"Bridge", Bridge::Create},
  61. {"Breakable", Breakable::Create},
  62. {"Varying Restitution", VaryingRestitution::Create},
  63. {"Ray-Cast", RayCast::Create},
  64. {"Pyramid", Pyramid::Create},
  65. {"PolyCollision", PolyCollision::Create},
  66. {"One-Sided Platform", OneSidedPlatform::Create},
  67. {"Apply Force", ApplyForce::Create},
  68. {"Chain", Chain::Create},
  69. {"Collision Filtering", CollisionFiltering::Create},
  70. {"Collision Processing", CollisionProcessing::Create},
  71. {"Compound Shapes", CompoundShapes::Create},
  72. {"Distance Test", DistanceTest::Create},
  73. {"Dominos", Dominos::Create},
  74. {"Dynamic Tree", DynamicTreeTest::Create},
  75. {"Gears", Gears::Create},
  76. {"Line Joint", LineJoint::Create},
  77. {"Polygon Shapes", PolyShapes::Create},
  78. {"Prismatic", Prismatic::Create},
  79. {"Pulleys", Pulleys::Create},
  80. {"Revolute", Revolute::Create},
  81. {"Sensor Test", SensorTest::Create},
  82. {"Shape Editing", ShapeEditing::Create},
  83. {"Slider Crank", SliderCrank::Create},
  84. {"Theo Jansen's Walker", TheoJansen::Create},
  85. {"Time of Impact", TimeOfImpact::Create},
  86. {"Varying Friction", VaryingFriction::Create},
  87. {"Web", Web::Create},
  88. {NULL, NULL}
  89. };