Permalink
Browse files

Initial Source Commit

  • Loading branch information...
1 parent 28da541 commit cfcce823fd766b71663ae338f3f29fcbff9c9f85 @mikedaley mikedaley committed Jan 25, 2012
Showing with 52,840 additions and 0 deletions.
  1. +1,137 −0 GLKit_TD3D.xcodeproj/project.pbxproj
  2. +7 −0 GLKit_TD3D.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  3. BIN ...3D.xcodeproj/project.xcworkspace/xcuserdata/mike_daley.xcuserdatad/UserInterfaceState.xcuserstate
  4. +10 −0 ...TD3D.xcodeproj/project.xcworkspace/xcuserdata/mike_daley.xcuserdatad/WorkspaceSettings.xcsettings
  5. +5 −0 GLKit_TD3D.xcodeproj/xcuserdata/mike_daley.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
  6. +84 −0 GLKit_TD3D.xcodeproj/xcuserdata/mike_daley.xcuserdatad/xcschemes/GLKit_TD3D.xcscheme
  7. +22 −0 GLKit_TD3D.xcodeproj/xcuserdata/mike_daley.xcuserdatad/xcschemes/xcschememanagement.plist
  8. BIN GLKit_TD3D/.DS_Store
  9. +45 −0 GLKit_TD3D/AssetManager.h
  10. +85 −0 GLKit_TD3D/AssetManager.mm
  11. +37 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp
  12. +1,051 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btAxisSweep3.h
  13. +82 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h
  14. +17 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp
  15. +270 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h
  16. +23 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp
  17. +80 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h
  18. +1,295 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btDbvt.cpp
  19. +1,256 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btDbvt.h
  20. +796 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btDbvtBroadphase.cpp
  21. +146 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h
  22. +22 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btDispatcher.cpp
  23. +110 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btDispatcher.h
  24. +489 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.cpp
  25. +151 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.h
  26. +633 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp
  27. +469 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h
  28. +40 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h
  29. +1,375 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp
  30. +579 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btQuantizedBvh.h
  31. +349 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btSimpleBroadphase.cpp
  32. +171 −0 GLKit_TD3D/BulletCollision/BroadphaseCollision/btSimpleBroadphase.h
  33. +201 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp
  34. +51 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/SphereTriangleDetector.h
  35. +47 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp
  36. +36 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.h
  37. +435 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.cpp
  38. +66 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.h
  39. +85 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp
  40. +66 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h
  41. +718 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp
  42. +44 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btBoxBoxDetector.h
  43. +48 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionConfiguration.h
  44. +45 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionCreateFunc.h
  45. +310 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp
  46. +172 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionDispatcher.h
  47. +116 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionObject.cpp
  48. +524 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionObject.h
  49. +1,513 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionWorld.cpp
  50. +509 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCollisionWorld.h
  51. +353 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp
  52. +86 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h
  53. +247 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.cpp
  54. +95 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.h
  55. +312 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp
  56. +116 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h
  57. +679 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp
  58. +109 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h
  59. +155 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp
  60. +84 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h
  61. +298 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.cpp
  62. +135 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h
  63. +34 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp
  64. +54 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h
  65. +171 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btGhostObject.cpp
  66. +175 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btGhostObject.h
  67. +842 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btInternalEdgeUtility.cpp
  68. +46 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btInternalEdgeUtility.h
  69. +135 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btManifoldResult.cpp
  70. +128 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btManifoldResult.h
  71. +443 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSimulationIslandManager.cpp
  72. +81 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSimulationIslandManager.h
  73. +260 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp
  74. +75 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h
  75. +105 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp
  76. +66 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h
  77. +84 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp
  78. +69 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h
  79. +82 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btUnionFind.cpp
  80. +129 −0 GLKit_TD3D/BulletCollision/CollisionDispatch/btUnionFind.h
  81. +42 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btBox2dShape.cpp
  82. +363 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btBox2dShape.h
  83. +41 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btBoxShape.cpp
  84. +318 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btBoxShape.h
  85. +466 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp
  86. +139 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h
  87. +171 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCapsuleShape.cpp
  88. +173 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCapsuleShape.h
  89. +26 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCollisionMargin.h
  90. +119 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCollisionShape.cpp
  91. +150 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCollisionShape.h
  92. +356 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCompoundShape.cpp
  93. +212 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCompoundShape.h
  94. +27 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConcaveShape.cpp
  95. +60 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConcaveShape.h
  96. +143 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConeShape.cpp
  97. +103 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConeShape.h
  98. +92 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvex2dShape.cpp
  99. +80 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvex2dShape.h
  100. +211 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexHullShape.cpp
  101. +120 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexHullShape.h
  102. +151 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexInternalShape.cpp
  103. +202 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexInternalShape.h
  104. +157 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp
  105. +105 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexPointCloudShape.h
  106. +185 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexPolyhedron.cpp
  107. +54 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexPolyhedron.h
  108. +429 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexShape.cpp
  109. +82 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexShape.h
  110. +315 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.cpp
  111. +75 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h
  112. +279 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCylinderShape.cpp
  113. +200 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btCylinderShape.h
  114. +50 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btEmptyShape.cpp
  115. +70 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btEmptyShape.h
  116. +411 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.cpp
  117. +161 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h
  118. +35 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btMaterial.h
  119. +60 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btMinkowskiSumShape.cpp
  120. +60 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btMinkowskiSumShape.h
  121. +167 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btMultiSphereShape.cpp
  122. +99 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btMultiSphereShape.h
  123. +45 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.cpp
  124. +120 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h
  125. +391 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btOptimizedBvh.cpp
  126. +65 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btOptimizedBvh.h
  127. +338 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp
  128. +112 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btPolyhedralConvexShape.h
  129. +123 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.cpp
  130. +93 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h
  131. +170 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btShapeHull.cpp
  132. +59 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btShapeHull.h
  133. +71 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btSphereShape.cpp
  134. +73 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btSphereShape.h
  135. +107 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btStaticPlaneShape.cpp
  136. +103 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btStaticPlaneShape.h
  137. +379 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btStridingMeshInterface.cpp
  138. +162 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btStridingMeshInterface.h
  139. +218 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTetrahedronShape.cpp
  140. +74 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTetrahedronShape.h
  141. +35 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleBuffer.cpp
  142. +69 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleBuffer.h
  143. +28 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleCallback.cpp
  144. +42 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleCallback.h
  145. +95 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp
  146. +131 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h
  147. +86 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.cpp
  148. +84 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.h
  149. +240 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleInfoMap.h
  150. +140 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleMesh.cpp
  151. +69 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleMesh.h
  152. +211 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp
  153. +89 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleMeshShape.h
  154. +182 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btTriangleShape.h
  155. +160 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btUniformScalingShape.cpp
  156. +87 −0 GLKit_TD3D/BulletCollision/CollisionShapes/btUniformScalingShape.h
  157. +243 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp
  158. +59 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h
  159. +20 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btConvexCast.cpp
  160. +73 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btConvexCast.h
  161. +42 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h
  162. +91 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h
  163. +176 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.cpp
  164. +50 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h
  165. +989 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkEpa2.cpp
  166. +75 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkEpa2.h
  167. +66 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp
  168. +43 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h
  169. +457 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.cpp
  170. +103 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h
  171. +158 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h
  172. +362 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp
  173. +40 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h
  174. +260 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp
  175. +232 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h
  176. +64 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btPointCollector.h
  177. +360 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.cpp
  178. +46 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.h
  179. +177 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp
  180. +72 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h
  181. +63 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h
  182. +160 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp
  183. +50 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h
  184. +609 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp
  185. +179 −0 GLKit_TD3D/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h
  186. +16 −0 GLKit_TD3D/Constants.h
  187. +13 −0 GLKit_TD3D/EnemyBomber.h
  188. +114 −0 GLKit_TD3D/EnemyBomber.mm
  189. +130 −0 GLKit_TD3D/EnemyBomberModel.h
  190. BIN GLKit_TD3D/EnemyBomberTexture.png
  191. +13 −0 GLKit_TD3D/EnemyFighter.h
  192. +115 −0 GLKit_TD3D/EnemyFighter.mm
  193. +68 −0 GLKit_TD3D/EnemyFighterModel.h
  194. BIN GLKit_TD3D/EnemyFighterTexture.png
  195. +49 −0 GLKit_TD3D/GLDebugDrawer.h
  196. +71 −0 GLKit_TD3D/GLDebugDrawer.mm
  197. +48 −0 GLKit_TD3D/GLKit_TD3D-Info.plist
  198. +16 −0 GLKit_TD3D/GLKit_TD3D-Prefix.pch
  199. +13 −0 GLKit_TD3D/Light.h
  200. +72 −0 GLKit_TD3D/Light.mm
  201. +236 −0 GLKit_TD3D/LinearMath/btAabbUtil2.h
  202. +182 −0 GLKit_TD3D/LinearMath/btAlignedAllocator.cpp
  203. +107 −0 GLKit_TD3D/LinearMath/btAlignedAllocator.h
  204. +471 −0 GLKit_TD3D/LinearMath/btAlignedObjectArray.h
  205. +1,174 −0 GLKit_TD3D/LinearMath/btConvexHull.cpp
  206. +241 −0 GLKit_TD3D/LinearMath/btConvexHull.h
  207. +2,749 −0 GLKit_TD3D/LinearMath/btConvexHullComputer.cpp
  208. +103 −0 GLKit_TD3D/LinearMath/btConvexHullComputer.h
  209. +40 −0 GLKit_TD3D/LinearMath/btDefaultMotionState.h
  210. +185 −0 GLKit_TD3D/LinearMath/btGeometryUtil.cpp
  211. +42 −0 GLKit_TD3D/LinearMath/btGeometryUtil.h
  212. +450 −0 GLKit_TD3D/LinearMath/btHashMap.h
  213. +417 −0 GLKit_TD3D/LinearMath/btIDebugDraw.h
  214. +73 −0 GLKit_TD3D/LinearMath/btList.h
  215. +771 −0 GLKit_TD3D/LinearMath/btMatrix3x3.h
  216. +71 −0 GLKit_TD3D/LinearMath/btMinMax.h
  217. +40 −0 GLKit_TD3D/LinearMath/btMotionState.h
  218. +121 −0 GLKit_TD3D/LinearMath/btPoolAllocator.h
  219. +180 −0 GLKit_TD3D/LinearMath/btQuadWord.h
  220. +433 −0 GLKit_TD3D/LinearMath/btQuaternion.h
  221. +565 −0 GLKit_TD3D/LinearMath/btQuickprof.cpp
  222. +196 −0 GLKit_TD3D/LinearMath/btQuickprof.h
  223. +42 −0 GLKit_TD3D/LinearMath/btRandom.h
  224. +522 −0 GLKit_TD3D/LinearMath/btScalar.h
  225. +832 −0 GLKit_TD3D/LinearMath/btSerializer.cpp
  226. +655 −0 GLKit_TD3D/LinearMath/btSerializer.h
  227. +116 −0 GLKit_TD3D/LinearMath/btStackAlloc.h
  228. +307 −0 GLKit_TD3D/LinearMath/btTransform.h
  229. +228 −0 GLKit_TD3D/LinearMath/btTransformUtil.h
  230. +766 −0 GLKit_TD3D/LinearMath/btVector3.h
  231. +48 −0 GLKit_TD3D/OpenGLCommon.h
  232. +84 −0 GLKit_TD3D/SSAbstractObject.h
  233. +102 −0 GLKit_TD3D/SSAbstractObject.mm
  234. +23 −0 GLKit_TD3D/SSGameSceneController.h
  235. +351 −0 GLKit_TD3D/SSGameSceneController.mm
  236. +13 −0 GLKit_TD3D/SSMenuSceneController.h
  237. +51 −0 GLKit_TD3D/SSMenuSceneController.m
  238. +57 −0 GLKit_TD3D/SSModel.h
  239. +200 −0 GLKit_TD3D/SSModel.mm
  240. +15 −0 GLKit_TD3D/SSTD3DAppDelegate.h
  241. +60 −0 GLKit_TD3D/SSTD3DAppDelegate.m
  242. +68 −0 GLKit_TD3D/SynthesizeSingleton.h
  243. +69 −0 GLKit_TD3D/btBulletCollisionCommon.h
  244. +2 −0 GLKit_TD3D/en.lproj/InfoPlist.strings
  245. +66 −0 GLKit_TD3D/en.lproj/MainStoryboard_iPad.storyboard
  246. +71 −0 GLKit_TD3D/en.lproj/MainStoryboard_iPhone.storyboard
  247. +18 −0 GLKit_TD3D/main.m
  248. BIN GLKit_TD3D/skybox_texture.png
  249. +245 −0 GLKit_TD3D/sphere.h
  250. BIN Resources/skybox_texture.png
  251. BIN Resources/skybox_texture.pxm
  252. +245 −0 Resources/sphere.h

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDEWorkspaceUserSettings_HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
+ <true/>
+ <key>IDEWorkspaceUserSettings_SnapshotAutomaticallyBeforeSignificantChanges</key>
+ <false/>
+</dict>
+</plist>
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Bucket
+ type = "1"
+ version = "1.0">
+</Bucket>
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8F531CEC141E643900118841"
+ BuildableName = "GLKit_TD3D.app"
+ BlueprintName = "GLKit_TD3D"
+ ReferencedContainer = "container:GLKit_TD3D.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8F531CEC141E643900118841"
+ BuildableName = "GLKit_TD3D.app"
+ BlueprintName = "GLKit_TD3D"
+ ReferencedContainer = "container:GLKit_TD3D.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8F531CEC141E643900118841"
+ BuildableName = "GLKit_TD3D.app"
+ BlueprintName = "GLKit_TD3D"
+ ReferencedContainer = "container:GLKit_TD3D.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8F531CEC141E643900118841"
+ BuildableName = "GLKit_TD3D.app"
+ BlueprintName = "GLKit_TD3D"
+ ReferencedContainer = "container:GLKit_TD3D.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SchemeUserState</key>
+ <dict>
+ <key>GLKit_TD3D.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>8F531CEC141E643900118841</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
Binary file not shown.
View
@@ -0,0 +1,45 @@
+//
+// AssetManager.h
+// GLKit_TD3D
+//
+// Copyright (c) 2011 71Squared
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+//
+// This class is responsible for creating the VBO's and Textures to be used in the game. This is a
+// singleton class that is accessed by other classes that need to request a specific VBO or texture.
+//
+// Each VBO and Texture created will be given a text key that can be used to request a specific VBO or
+// texture. This will allow us to create just a single version of a VBO or Texture that can be reused
+// many times reducing the amount of memory being used.
+//
+
+#import "OpenGLCommon.h"
+
+@class SSModel;
+
+@interface AssetManager : NSObject
+
+- (void)loadTexturedMeshWithData:(const SSTexturedVertexData3D[])aVertexData vertexCount:(GLuint)aVertexCount textureFileName:(NSString *)aTextureFileName scale:(GLfloat)aScale modelName:(NSString *)aModelName;
+
+- (void)loadMeshWithData:(const SSVertexData3D[])aVertexData vertexCount:(GLuint)aVertexCount scale:(GLfloat)aScale modelName:(NSString *)aModelName;
+
+- (SSModel *)getModelWithName:(NSString *)aModelName;
+
+@end
View
@@ -0,0 +1,85 @@
+//
+// AssetManager.m
+// TD3D
+//
+// Copyright (c) 2010 71Squared
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+#import "AssetManager.h"
+#import "SSModel.h"
+
+#pragma mark -
+#pragma mark Private interface
+
+@interface AssetManager () {
+
+ NSMutableDictionary *models;
+
+}
+
+@end
+
+#pragma mark -
+#pragma mark Public implementation
+
+@implementation AssetManager
+
+- (id) init
+{
+ self = [super init];
+ if (self != nil) {
+
+ // Set up the mutable arrays that will hold the VBO and Texture names
+ models = [[NSMutableDictionary alloc] init];
+
+ }
+ return self;
+}
+- (void)loadMeshWithData:(const SSVertexData3D[])aVertexData vertexCount:(GLuint)aVertexCount scale:(GLfloat)aScale modelName:(NSString *)aModelName {
+ // Check to see if the name of this model has already been used
+ if ([models objectForKey:aModelName]) {
+ NSLog(@"WARNING: A model with called '%@' already exists", aModelName);
+ return;
+ }
+
+ // Create a new instance of SSModel and add it to the models dictionary with its name as the key
+ SSModel *newModel = [[SSModel alloc] initWithMeshVertexData:aVertexData vertexCount:aVertexCount scale:aScale modelName:aModelName];
+ [models setObject:newModel forKey:aModelName];
+}
+
+- (void)loadTexturedMeshWithData:(const SSTexturedVertexData3D[])aVertexData vertexCount:(GLuint)aVertexCount textureFileName:(NSString *)aTextureFileName scale:(GLfloat)aScale modelName:(NSString *)aModelName {
+
+ // Check to see if the name of this model has already been used
+ if ([models objectForKey:aModelName]) {
+ NSLog(@"WARNING: A model with called '%@' already exists", aModelName);
+ return;
+ }
+
+ // Create a new instance of SSModel and add it to the models dictionary with its name as the key
+ SSModel *newModel = [[SSModel alloc] initWithTexturedMeshVertexData:aVertexData vertexCount:aVertexCount textureFileName:aTextureFileName scale:aScale modelName:aModelName];
+ [models setObject:newModel forKey:aModelName];
+
+}
+
+- (SSModel *)getModelWithName:(NSString *)aModelName {
+ return [models objectForKey:aModelName];
+}
+
+@end
@@ -0,0 +1,37 @@
+
+//Bullet Continuous Collision Detection and Physics Library
+//Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
+
+
+//
+// btAxisSweep3
+//
+// Copyright (c) 2006 Simon Hobbs
+//
+// 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 "btAxisSweep3.h"
+
+
+btAxisSweep3::btAxisSweep3(const btVector3& worldAabbMin,const btVector3& worldAabbMax, unsigned short int maxHandles, btOverlappingPairCache* pairCache, bool disableRaycastAccelerator)
+:btAxisSweep3Internal<unsigned short int>(worldAabbMin,worldAabbMax,0xfffe,0xffff,maxHandles,pairCache,disableRaycastAccelerator)
+{
+ // 1 handle is reserved as sentinel
+ btAssert(maxHandles > 1 && maxHandles < 32767);
+
+}
+
+
+bt32BitAxisSweep3::bt32BitAxisSweep3(const btVector3& worldAabbMin,const btVector3& worldAabbMax, unsigned int maxHandles , btOverlappingPairCache* pairCache , bool disableRaycastAccelerator)
+:btAxisSweep3Internal<unsigned int>(worldAabbMin,worldAabbMax,0xfffffffe,0x7fffffff,maxHandles,pairCache,disableRaycastAccelerator)
+{
+ // 1 handle is reserved as sentinel
+ btAssert(maxHandles > 1 && maxHandles < 2147483647);
+}
Oops, something went wrong.

0 comments on commit cfcce82

Please sign in to comment.