ruby-bullet 0.1.0-x86-linux → 0.1.1-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +3 -0
- data/Rakefile +14 -2
- data/bindings/bullet/interface/BulletCollision/CollisionDispatch/btCollisionWorld.i +2 -2
- data/bindings/bullet/interface/bullet_wrap.cpp +17548 -6035
- data/bindings/bullet/interface/bullet_wrap.h +7 -7
- data/bindings/bullet/interface/bullet_wrap.o +0 -0
- data/lib/bullet.so +0 -0
- data/lib/ruby-bullet/version.rb +1 -1
- data/ruby-bullet.gemspec +0 -3
- metadata +169 -444
- data/deps/include/bullet/Bullet-C-Api.h +0 -176
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btAxisSweep3.h +0 -1051
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h +0 -82
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h +0 -270
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h +0 -80
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btDbvt.h +0 -1257
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h +0 -146
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btDispatcher.h +0 -110
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.h +0 -151
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h +0 -469
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h +0 -40
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btQuantizedBvh.h +0 -579
- data/deps/include/bullet/BulletCollision/BroadphaseCollision/btSimpleBroadphase.h +0 -171
- data/deps/include/bullet/BulletCollision/CollisionDispatch/SphereTriangleDetector.h +0 -51
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.h +0 -36
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.h +0 -66
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h +0 -66
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btBoxBoxDetector.h +0 -44
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionConfiguration.h +0 -48
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionCreateFunc.h +0 -45
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionDispatcher.h +0 -172
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionObject.h +0 -524
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h +0 -509
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h +0 -86
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.h +0 -95
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h +0 -116
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h +0 -109
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h +0 -84
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h +0 -137
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h +0 -54
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btGhostObject.h +0 -175
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btInternalEdgeUtility.h +0 -46
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btManifoldResult.h +0 -128
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btSimulationIslandManager.h +0 -81
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h +0 -75
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h +0 -66
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h +0 -69
- data/deps/include/bullet/BulletCollision/CollisionDispatch/btUnionFind.h +0 -129
- data/deps/include/bullet/BulletCollision/CollisionShapes/btBox2dShape.h +0 -369
- data/deps/include/bullet/BulletCollision/CollisionShapes/btBoxShape.h +0 -312
- data/deps/include/bullet/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h +0 -139
- data/deps/include/bullet/BulletCollision/CollisionShapes/btCapsuleShape.h +0 -173
- data/deps/include/bullet/BulletCollision/CollisionShapes/btCollisionMargin.h +0 -27
- data/deps/include/bullet/BulletCollision/CollisionShapes/btCollisionShape.h +0 -150
- data/deps/include/bullet/BulletCollision/CollisionShapes/btCompoundShape.h +0 -212
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConcaveShape.h +0 -60
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConeShape.h +0 -103
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConvex2dShape.h +0 -80
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexHullShape.h +0 -122
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexInternalShape.h +0 -224
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexPointCloudShape.h +0 -105
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexPolyhedron.h +0 -62
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexShape.h +0 -84
- data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h +0 -75
- data/deps/include/bullet/BulletCollision/CollisionShapes/btCylinderShape.h +0 -200
- data/deps/include/bullet/BulletCollision/CollisionShapes/btEmptyShape.h +0 -70
- data/deps/include/bullet/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h +0 -161
- data/deps/include/bullet/BulletCollision/CollisionShapes/btMaterial.h +0 -35
- data/deps/include/bullet/BulletCollision/CollisionShapes/btMinkowskiSumShape.h +0 -60
- data/deps/include/bullet/BulletCollision/CollisionShapes/btMultiSphereShape.h +0 -99
- data/deps/include/bullet/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h +0 -120
- data/deps/include/bullet/BulletCollision/CollisionShapes/btOptimizedBvh.h +0 -65
- data/deps/include/bullet/BulletCollision/CollisionShapes/btPolyhedralConvexShape.h +0 -112
- data/deps/include/bullet/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h +0 -93
- data/deps/include/bullet/BulletCollision/CollisionShapes/btShapeHull.h +0 -59
- data/deps/include/bullet/BulletCollision/CollisionShapes/btSphereShape.h +0 -73
- data/deps/include/bullet/BulletCollision/CollisionShapes/btStaticPlaneShape.h +0 -103
- data/deps/include/bullet/BulletCollision/CollisionShapes/btStridingMeshInterface.h +0 -162
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTetrahedronShape.h +0 -74
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleBuffer.h +0 -69
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleCallback.h +0 -42
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h +0 -133
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.h +0 -84
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleInfoMap.h +0 -241
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleMesh.h +0 -69
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleMeshShape.h +0 -89
- data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleShape.h +0 -182
- data/deps/include/bullet/BulletCollision/CollisionShapes/btUniformScalingShape.h +0 -87
- data/deps/include/bullet/BulletCollision/Gimpact/btBoxCollision.h +0 -647
- data/deps/include/bullet/BulletCollision/Gimpact/btClipPolygon.h +0 -182
- data/deps/include/bullet/BulletCollision/Gimpact/btContactProcessing.h +0 -145
- data/deps/include/bullet/BulletCollision/Gimpact/btGImpactBvh.h +0 -396
- data/deps/include/bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h +0 -306
- data/deps/include/bullet/BulletCollision/Gimpact/btGImpactMassUtil.h +0 -60
- data/deps/include/bullet/BulletCollision/Gimpact/btGImpactQuantizedBvh.h +0 -372
- data/deps/include/bullet/BulletCollision/Gimpact/btGImpactShape.h +0 -1171
- data/deps/include/bullet/BulletCollision/Gimpact/btGenericPoolAllocator.h +0 -163
- data/deps/include/bullet/BulletCollision/Gimpact/btGeometryOperations.h +0 -212
- data/deps/include/bullet/BulletCollision/Gimpact/btQuantization.h +0 -88
- data/deps/include/bullet/BulletCollision/Gimpact/btTriangleShapeEx.h +0 -180
- data/deps/include/bullet/BulletCollision/Gimpact/gim_array.h +0 -326
- data/deps/include/bullet/BulletCollision/Gimpact/gim_basic_geometry_operations.h +0 -543
- data/deps/include/bullet/BulletCollision/Gimpact/gim_bitset.h +0 -123
- data/deps/include/bullet/BulletCollision/Gimpact/gim_box_collision.h +0 -590
- data/deps/include/bullet/BulletCollision/Gimpact/gim_box_set.h +0 -674
- data/deps/include/bullet/BulletCollision/Gimpact/gim_clip_polygon.h +0 -210
- data/deps/include/bullet/BulletCollision/Gimpact/gim_contact.h +0 -164
- data/deps/include/bullet/BulletCollision/Gimpact/gim_geom_types.h +0 -97
- data/deps/include/bullet/BulletCollision/Gimpact/gim_geometry.h +0 -42
- data/deps/include/bullet/BulletCollision/Gimpact/gim_hash_table.h +0 -902
- data/deps/include/bullet/BulletCollision/Gimpact/gim_linear_math.h +0 -1573
- data/deps/include/bullet/BulletCollision/Gimpact/gim_math.h +0 -157
- data/deps/include/bullet/BulletCollision/Gimpact/gim_memory.h +0 -190
- data/deps/include/bullet/BulletCollision/Gimpact/gim_radixsort.h +0 -406
- data/deps/include/bullet/BulletCollision/Gimpact/gim_tri_collision.h +0 -379
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h +0 -59
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btConvexCast.h +0 -73
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h +0 -42
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h +0 -91
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h +0 -50
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkEpa2.h +0 -75
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h +0 -43
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h +0 -103
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h +0 -158
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h +0 -40
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h +0 -228
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btPointCollector.h +0 -64
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.h +0 -46
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h +0 -72
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h +0 -63
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h +0 -50
- data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h +0 -179
- data/deps/include/bullet/BulletCollision/btBulletCollisionCommon.h +0 -69
- data/deps/include/bullet/BulletDynamics/Character/btCharacterControllerInterface.h +0 -46
- data/deps/include/bullet/BulletDynamics/Character/btKinematicCharacterController.h +0 -163
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h +0 -346
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btConstraintSolver.h +0 -52
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btContactConstraint.h +0 -71
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btContactSolverInfo.h +0 -87
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h +0 -614
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h +0 -99
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btHinge2Constraint.h +0 -58
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btHingeConstraint.h +0 -381
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btJacobianEntry.h +0 -156
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h +0 -161
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h +0 -130
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSliderConstraint.h +0 -333
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h +0 -107
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSolverBody.h +0 -191
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSolverConstraint.h +0 -98
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btTypedConstraint.h +0 -452
- data/deps/include/bullet/BulletDynamics/ConstraintSolver/btUniversalConstraint.h +0 -62
- data/deps/include/bullet/BulletDynamics/Dynamics/btActionInterface.h +0 -46
- data/deps/include/bullet/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h +0 -203
- data/deps/include/bullet/BulletDynamics/Dynamics/btDynamicsWorld.h +0 -151
- data/deps/include/bullet/BulletDynamics/Dynamics/btRigidBody.h +0 -691
- data/deps/include/bullet/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h +0 -89
- data/deps/include/bullet/BulletDynamics/Vehicle/btRaycastVehicle.h +0 -236
- data/deps/include/bullet/BulletDynamics/Vehicle/btVehicleRaycaster.h +0 -35
- data/deps/include/bullet/BulletDynamics/Vehicle/btWheelInfo.h +0 -119
- data/deps/include/bullet/BulletDynamics/btBulletDynamicsCommon.h +0 -48
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverBuffer_DX11.h +0 -323
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverLinkData_DX11.h +0 -103
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverLinkData_DX11SIMDAware.h +0 -173
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverTriangleData_DX11.h +0 -96
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverVertexBuffer_DX11.h +0 -107
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverVertexData_DX11.h +0 -63
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.h +0 -691
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11SIMDAware.h +0 -81
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverBuffer_OpenCL.h +0 -209
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverLinkData_OpenCL.h +0 -99
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverLinkData_OpenCLSIMDAware.h +0 -169
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverOutputCLtoGL.h +0 -62
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverTriangleData_OpenCL.h +0 -84
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverVertexBuffer_OpenGL.h +0 -166
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverVertexData_OpenCL.h +0 -52
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolver_OpenCL.h +0 -527
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolver_OpenCLSIMDAware.h +0 -81
- data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/Shared/btSoftBodySolverData.h +0 -748
- data/deps/include/bullet/BulletMultiThreaded/HeapManager.h +0 -117
- data/deps/include/bullet/BulletMultiThreaded/PlatformDefinitions.h +0 -99
- data/deps/include/bullet/BulletMultiThreaded/PosixThreadSupport.h +0 -142
- data/deps/include/bullet/BulletMultiThreaded/PpuAddressSpace.h +0 -37
- data/deps/include/bullet/BulletMultiThreaded/SequentialThreadSupport.h +0 -96
- data/deps/include/bullet/BulletMultiThreaded/SpuCollisionObjectWrapper.h +0 -40
- data/deps/include/bullet/BulletMultiThreaded/SpuCollisionTaskProcess.h +0 -163
- data/deps/include/bullet/BulletMultiThreaded/SpuContactManifoldCollisionAlgorithm.h +0 -120
- data/deps/include/bullet/BulletMultiThreaded/SpuDoubleBuffer.h +0 -126
- data/deps/include/bullet/BulletMultiThreaded/SpuFakeDma.h +0 -135
- data/deps/include/bullet/BulletMultiThreaded/SpuGatheringCollisionDispatcher.h +0 -72
- data/deps/include/bullet/BulletMultiThreaded/SpuLibspe2Support.h +0 -180
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h +0 -167
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuCollisionShapes.h +0 -128
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.h +0 -106
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuConvexPenetrationDepthSolver.h +0 -51
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuGatheringCollisionTask.h +0 -140
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuLocalSupport.h +0 -19
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuMinkowskiPenetrationDepthSolver.h +0 -48
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuPreferredPenetrationDirections.h +0 -70
- data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/boxBoxDistance.h +0 -65
- data/deps/include/bullet/BulletMultiThreaded/SpuSampleTask/SpuSampleTask.h +0 -54
- data/deps/include/bullet/BulletMultiThreaded/SpuSampleTaskProcess.h +0 -153
- data/deps/include/bullet/BulletMultiThreaded/SpuSync.h +0 -149
- data/deps/include/bullet/BulletMultiThreaded/TrbDynBody.h +0 -79
- data/deps/include/bullet/BulletMultiThreaded/TrbStateVec.h +0 -339
- data/deps/include/bullet/BulletMultiThreaded/Win32ThreadSupport.h +0 -138
- data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphase.h +0 -138
- data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphaseSharedCode.h +0 -430
- data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphaseSharedDefs.h +0 -61
- data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphaseSharedTypes.h +0 -67
- data/deps/include/bullet/BulletMultiThreaded/btGpuDefines.h +0 -211
- data/deps/include/bullet/BulletMultiThreaded/btGpuUtilsSharedCode.h +0 -55
- data/deps/include/bullet/BulletMultiThreaded/btGpuUtilsSharedDefs.h +0 -52
- data/deps/include/bullet/BulletMultiThreaded/btParallelConstraintSolver.h +0 -285
- data/deps/include/bullet/BulletMultiThreaded/btThreadSupportInterface.h +0 -85
- data/deps/include/bullet/BulletMultiThreaded/vectormath2bullet.h +0 -73
- data/deps/include/bullet/BulletSoftBody/btDefaultSoftBodySolver.h +0 -63
- data/deps/include/bullet/BulletSoftBody/btSoftBody.h +0 -987
- data/deps/include/bullet/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.h +0 -153
- data/deps/include/bullet/BulletSoftBody/btSoftBodyData.h +0 -217
- data/deps/include/bullet/BulletSoftBody/btSoftBodyHelpers.h +0 -143
- data/deps/include/bullet/BulletSoftBody/btSoftBodyInternals.h +0 -930
- data/deps/include/bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h +0 -48
- data/deps/include/bullet/BulletSoftBody/btSoftBodySolverVertexBuffer.h +0 -165
- data/deps/include/bullet/BulletSoftBody/btSoftBodySolvers.h +0 -154
- data/deps/include/bullet/BulletSoftBody/btSoftRigidCollisionAlgorithm.h +0 -75
- data/deps/include/bullet/BulletSoftBody/btSoftRigidDynamicsWorld.h +0 -107
- data/deps/include/bullet/BulletSoftBody/btSoftSoftCollisionAlgorithm.h +0 -69
- data/deps/include/bullet/BulletSoftBody/btSparseSDF.h +0 -306
- data/deps/include/bullet/LinearMath/btAabbUtil2.h +0 -236
- data/deps/include/bullet/LinearMath/btAlignedAllocator.h +0 -107
- data/deps/include/bullet/LinearMath/btAlignedObjectArray.h +0 -494
- data/deps/include/bullet/LinearMath/btConvexHull.h +0 -241
- data/deps/include/bullet/LinearMath/btConvexHullComputer.h +0 -103
- data/deps/include/bullet/LinearMath/btDefaultMotionState.h +0 -40
- data/deps/include/bullet/LinearMath/btGeometryUtil.h +0 -42
- data/deps/include/bullet/LinearMath/btGrahamScan2dConvexHull.h +0 -110
- data/deps/include/bullet/LinearMath/btHashMap.h +0 -450
- data/deps/include/bullet/LinearMath/btIDebugDraw.h +0 -418
- data/deps/include/bullet/LinearMath/btList.h +0 -73
- data/deps/include/bullet/LinearMath/btMatrix3x3.h +0 -771
- data/deps/include/bullet/LinearMath/btMinMax.h +0 -71
- data/deps/include/bullet/LinearMath/btMotionState.h +0 -40
- data/deps/include/bullet/LinearMath/btPoolAllocator.h +0 -121
- data/deps/include/bullet/LinearMath/btQuadWord.h +0 -180
- data/deps/include/bullet/LinearMath/btQuaternion.h +0 -430
- data/deps/include/bullet/LinearMath/btQuickprof.h +0 -203
- data/deps/include/bullet/LinearMath/btRandom.h +0 -42
- data/deps/include/bullet/LinearMath/btScalar.h +0 -539
- data/deps/include/bullet/LinearMath/btSerializer.h +0 -639
- data/deps/include/bullet/LinearMath/btStackAlloc.h +0 -116
- data/deps/include/bullet/LinearMath/btTransform.h +0 -307
- data/deps/include/bullet/LinearMath/btTransformUtil.h +0 -228
- data/deps/include/bullet/LinearMath/btVector3.h +0 -766
- data/deps/include/bullet/MiniCL/MiniCLTask/MiniCLTask.h +0 -62
- data/deps/include/bullet/MiniCL/MiniCLTaskScheduler.h +0 -194
- data/deps/include/bullet/MiniCL/cl.h +0 -867
- data/deps/include/bullet/MiniCL/cl_MiniCL_Defs.h +0 -439
- data/deps/include/bullet/MiniCL/cl_gl.h +0 -113
- data/deps/include/bullet/MiniCL/cl_platform.h +0 -254
- data/deps/include/bullet/btBulletCollisionCommon.h +0 -69
- data/deps/include/bullet/btBulletDynamicsCommon.h +0 -48
- data/deps/include/bullet/vectormath/scalar/boolInVec.h +0 -225
- data/deps/include/bullet/vectormath/scalar/floatInVec.h +0 -343
- data/deps/include/bullet/vectormath/scalar/mat_aos.h +0 -1630
- data/deps/include/bullet/vectormath/scalar/quat_aos.h +0 -433
- data/deps/include/bullet/vectormath/scalar/vec_aos.h +0 -1426
- data/deps/include/bullet/vectormath/scalar/vectormath_aos.h +0 -1872
- data/deps/include/bullet/vectormath/sse/boolInVec.h +0 -247
- data/deps/include/bullet/vectormath/sse/floatInVec.h +0 -340
- data/deps/include/bullet/vectormath/sse/mat_aos.h +0 -2190
- data/deps/include/bullet/vectormath/sse/quat_aos.h +0 -579
- data/deps/include/bullet/vectormath/sse/vec_aos.h +0 -1455
- data/deps/include/bullet/vectormath/sse/vecidx_aos.h +0 -80
- data/deps/include/bullet/vectormath/sse/vectormath_aos.h +0 -2547
- data/deps/include/bullet/vectormath/vmInclude.h +0 -27
- data/deps/lib/libBulletCollision.a +0 -0
- data/deps/lib/libBulletDynamics.a +0 -0
- data/deps/lib/libBulletMultiThreaded.a +0 -0
- data/deps/lib/libBulletSoftBody.a +0 -0
- data/deps/lib/libBulletSoftBodySolvers_OpenCL_Mini.a +0 -0
- data/deps/lib/libLinearMath.a +0 -0
- data/deps/lib/libMiniCL.a +0 -0
@@ -1,157 +0,0 @@
|
|
1
|
-
#ifndef GIM_MATH_H_INCLUDED
|
2
|
-
#define GIM_MATH_H_INCLUDED
|
3
|
-
/*! \file gim_math.h
|
4
|
-
\author Francisco Leon Najera
|
5
|
-
*/
|
6
|
-
/*
|
7
|
-
-----------------------------------------------------------------------------
|
8
|
-
This source file is part of GIMPACT Library.
|
9
|
-
|
10
|
-
For the latest info, see http://gimpact.sourceforge.net/
|
11
|
-
|
12
|
-
Copyright (c) 2006 Francisco Leon Najera. C.C. 80087371.
|
13
|
-
email: projectileman@yahoo.com
|
14
|
-
|
15
|
-
This library is free software; you can redistribute it and/or
|
16
|
-
modify it under the terms of EITHER:
|
17
|
-
(1) The GNU Lesser General Public License as published by the Free
|
18
|
-
Software Foundation; either version 2.1 of the License, or (at
|
19
|
-
your option) any later version. The text of the GNU Lesser
|
20
|
-
General Public License is included with this library in the
|
21
|
-
file GIMPACT-LICENSE-LGPL.TXT.
|
22
|
-
(2) The BSD-style license that is included with this library in
|
23
|
-
the file GIMPACT-LICENSE-BSD.TXT.
|
24
|
-
(3) The zlib/libpng license that is included with this library in
|
25
|
-
the file GIMPACT-LICENSE-ZLIB.TXT.
|
26
|
-
|
27
|
-
This library is distributed in the hope that it will be useful,
|
28
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
29
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files
|
30
|
-
GIMPACT-LICENSE-LGPL.TXT, GIMPACT-LICENSE-ZLIB.TXT and GIMPACT-LICENSE-BSD.TXT for more details.
|
31
|
-
|
32
|
-
-----------------------------------------------------------------------------
|
33
|
-
*/
|
34
|
-
|
35
|
-
#include "LinearMath/btScalar.h"
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
#define GREAL btScalar
|
40
|
-
#define GREAL2 double
|
41
|
-
#define GINT int
|
42
|
-
#define GUINT unsigned int
|
43
|
-
#define GSHORT short
|
44
|
-
#define GUSHORT unsigned short
|
45
|
-
#define GINT64 long long
|
46
|
-
#define GUINT64 unsigned long long
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
#define G_PI 3.14159265358979f
|
51
|
-
#define G_HALF_PI 1.5707963f
|
52
|
-
//267948966
|
53
|
-
#define G_TWO_PI 6.28318530f
|
54
|
-
//71795864
|
55
|
-
#define G_ROOT3 1.73205f
|
56
|
-
#define G_ROOT2 1.41421f
|
57
|
-
#define G_UINT_INFINITY 0xffffffff //!< A very very high value
|
58
|
-
#define G_REAL_INFINITY FLT_MAX
|
59
|
-
#define G_SIGN_BITMASK 0x80000000
|
60
|
-
#define G_EPSILON SIMD_EPSILON
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
enum GIM_SCALAR_TYPES
|
65
|
-
{
|
66
|
-
G_STYPE_REAL =0,
|
67
|
-
G_STYPE_REAL2,
|
68
|
-
G_STYPE_SHORT,
|
69
|
-
G_STYPE_USHORT,
|
70
|
-
G_STYPE_INT,
|
71
|
-
G_STYPE_UINT,
|
72
|
-
G_STYPE_INT64,
|
73
|
-
G_STYPE_UINT64
|
74
|
-
};
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
#define G_DEGTORAD(X) ((X)*3.1415926f/180.0f)
|
79
|
-
#define G_RADTODEG(X) ((X)*180.0f/3.1415926f)
|
80
|
-
|
81
|
-
//! Integer representation of a floating-point value.
|
82
|
-
#define GIM_IR(x) ((GUINT&)(x))
|
83
|
-
|
84
|
-
//! Signed integer representation of a floating-point value.
|
85
|
-
#define GIM_SIR(x) ((GINT&)(x))
|
86
|
-
|
87
|
-
//! Absolute integer representation of a floating-point value
|
88
|
-
#define GIM_AIR(x) (GIM_IR(x)&0x7fffffff)
|
89
|
-
|
90
|
-
//! Floating-point representation of an integer value.
|
91
|
-
#define GIM_FR(x) ((GREAL&)(x))
|
92
|
-
|
93
|
-
#define GIM_MAX(a,b) (a<b?b:a)
|
94
|
-
#define GIM_MIN(a,b) (a>b?b:a)
|
95
|
-
|
96
|
-
#define GIM_MAX3(a,b,c) GIM_MAX(a,GIM_MAX(b,c))
|
97
|
-
#define GIM_MIN3(a,b,c) GIM_MIN(a,GIM_MIN(b,c))
|
98
|
-
|
99
|
-
#define GIM_IS_ZERO(value) (value < G_EPSILON && value > -G_EPSILON)
|
100
|
-
|
101
|
-
#define GIM_IS_NEGATIVE(value) (value <= -G_EPSILON)
|
102
|
-
|
103
|
-
#define GIM_IS_POSISITVE(value) (value >= G_EPSILON)
|
104
|
-
|
105
|
-
#define GIM_NEAR_EQUAL(v1,v2) GIM_IS_ZERO((v1-v2))
|
106
|
-
|
107
|
-
///returns a clamped number
|
108
|
-
#define GIM_CLAMP(number,minval,maxval) (number<minval?minval:(number>maxval?maxval:number))
|
109
|
-
|
110
|
-
#define GIM_GREATER(x, y) btFabs(x) > (y)
|
111
|
-
|
112
|
-
///Swap numbers
|
113
|
-
#define GIM_SWAP_NUMBERS(a,b){ \
|
114
|
-
a = a+b; \
|
115
|
-
b = a-b; \
|
116
|
-
a = a-b; \
|
117
|
-
}\
|
118
|
-
|
119
|
-
#define GIM_INV_SQRT(va,isva)\
|
120
|
-
{\
|
121
|
-
if(va<=0.0000001f)\
|
122
|
-
{\
|
123
|
-
isva = G_REAL_INFINITY;\
|
124
|
-
}\
|
125
|
-
else\
|
126
|
-
{\
|
127
|
-
GREAL _x = va * 0.5f;\
|
128
|
-
GUINT _y = 0x5f3759df - ( GIM_IR(va) >> 1);\
|
129
|
-
isva = GIM_FR(_y);\
|
130
|
-
isva = isva * ( 1.5f - ( _x * isva * isva ) );\
|
131
|
-
}\
|
132
|
-
}\
|
133
|
-
|
134
|
-
#define GIM_SQRT(va,sva)\
|
135
|
-
{\
|
136
|
-
GIM_INV_SQRT(va,sva);\
|
137
|
-
sva = 1.0f/sva;\
|
138
|
-
}\
|
139
|
-
|
140
|
-
//! Computes 1.0f / sqrtf(x). Comes from Quake3. See http://www.magic-software.com/3DGEDInvSqrt.html
|
141
|
-
inline GREAL gim_inv_sqrt(GREAL f)
|
142
|
-
{
|
143
|
-
GREAL r;
|
144
|
-
GIM_INV_SQRT(f,r);
|
145
|
-
return r;
|
146
|
-
}
|
147
|
-
|
148
|
-
inline GREAL gim_sqrt(GREAL f)
|
149
|
-
{
|
150
|
-
GREAL r;
|
151
|
-
GIM_SQRT(f,r);
|
152
|
-
return r;
|
153
|
-
}
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
#endif // GIM_MATH_H_INCLUDED
|
@@ -1,190 +0,0 @@
|
|
1
|
-
#ifndef GIM_MEMORY_H_INCLUDED
|
2
|
-
#define GIM_MEMORY_H_INCLUDED
|
3
|
-
/*! \file gim_memory.h
|
4
|
-
\author Francisco Leon Najera
|
5
|
-
*/
|
6
|
-
/*
|
7
|
-
-----------------------------------------------------------------------------
|
8
|
-
This source file is part of GIMPACT Library.
|
9
|
-
|
10
|
-
For the latest info, see http://gimpact.sourceforge.net/
|
11
|
-
|
12
|
-
Copyright (c) 2006 Francisco Leon Najera. C.C. 80087371.
|
13
|
-
email: projectileman@yahoo.com
|
14
|
-
|
15
|
-
This library is free software; you can redistribute it and/or
|
16
|
-
modify it under the terms of EITHER:
|
17
|
-
(1) The GNU Lesser General Public License as published by the Free
|
18
|
-
Software Foundation; either version 2.1 of the License, or (at
|
19
|
-
your option) any later version. The text of the GNU Lesser
|
20
|
-
General Public License is included with this library in the
|
21
|
-
file GIMPACT-LICENSE-LGPL.TXT.
|
22
|
-
(2) The BSD-style license that is included with this library in
|
23
|
-
the file GIMPACT-LICENSE-BSD.TXT.
|
24
|
-
(3) The zlib/libpng license that is included with this library in
|
25
|
-
the file GIMPACT-LICENSE-ZLIB.TXT.
|
26
|
-
|
27
|
-
This library is distributed in the hope that it will be useful,
|
28
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
29
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files
|
30
|
-
GIMPACT-LICENSE-LGPL.TXT, GIMPACT-LICENSE-ZLIB.TXT and GIMPACT-LICENSE-BSD.TXT for more details.
|
31
|
-
|
32
|
-
-----------------------------------------------------------------------------
|
33
|
-
*/
|
34
|
-
|
35
|
-
|
36
|
-
#include "gim_math.h"
|
37
|
-
#include <string.h>
|
38
|
-
|
39
|
-
#ifdef PREFETCH
|
40
|
-
#include <xmmintrin.h> // for prefetch
|
41
|
-
#define pfval 64
|
42
|
-
#define pfval2 128
|
43
|
-
//! Prefetch 64
|
44
|
-
#define pf(_x,_i) _mm_prefetch((void *)(_x + _i + pfval), 0)
|
45
|
-
//! Prefetch 128
|
46
|
-
#define pf2(_x,_i) _mm_prefetch((void *)(_x + _i + pfval2), 0)
|
47
|
-
#else
|
48
|
-
//! Prefetch 64
|
49
|
-
#define pf(_x,_i)
|
50
|
-
//! Prefetch 128
|
51
|
-
#define pf2(_x,_i)
|
52
|
-
#endif
|
53
|
-
|
54
|
-
|
55
|
-
///Functions for manip packed arrays of numbers
|
56
|
-
#define GIM_COPY_ARRAYS(dest_array,source_array,element_count)\
|
57
|
-
{\
|
58
|
-
for (GUINT _i_=0;_i_<element_count ;++_i_)\
|
59
|
-
{\
|
60
|
-
dest_array[_i_] = source_array[_i_];\
|
61
|
-
}\
|
62
|
-
}\
|
63
|
-
|
64
|
-
#define GIM_COPY_ARRAYS_1(dest_array,source_array,element_count,copy_macro)\
|
65
|
-
{\
|
66
|
-
for (GUINT _i_=0;_i_<element_count ;++_i_)\
|
67
|
-
{\
|
68
|
-
copy_macro(dest_array[_i_],source_array[_i_]);\
|
69
|
-
}\
|
70
|
-
}\
|
71
|
-
|
72
|
-
|
73
|
-
#define GIM_ZERO_ARRAY(array,element_count)\
|
74
|
-
{\
|
75
|
-
for (GUINT _i_=0;_i_<element_count ;++_i_)\
|
76
|
-
{\
|
77
|
-
array[_i_] = 0;\
|
78
|
-
}\
|
79
|
-
}\
|
80
|
-
|
81
|
-
#define GIM_CONSTANT_ARRAY(array,element_count,constant)\
|
82
|
-
{\
|
83
|
-
for (GUINT _i_=0;_i_<element_count ;++_i_)\
|
84
|
-
{\
|
85
|
-
array[_i_] = constant;\
|
86
|
-
}\
|
87
|
-
}\
|
88
|
-
|
89
|
-
|
90
|
-
///Function prototypes to allocate and free memory.
|
91
|
-
typedef void * gim_alloc_function (size_t size);
|
92
|
-
typedef void * gim_alloca_function (size_t size);//Allocs on the heap
|
93
|
-
typedef void * gim_realloc_function (void *ptr, size_t oldsize, size_t newsize);
|
94
|
-
typedef void gim_free_function (void *ptr);
|
95
|
-
|
96
|
-
|
97
|
-
///Memory Function Handlers
|
98
|
-
///set new memory management functions. if fn is 0, the default handlers are used.
|
99
|
-
void gim_set_alloc_handler (gim_alloc_function *fn);
|
100
|
-
void gim_set_alloca_handler (gim_alloca_function *fn);
|
101
|
-
void gim_set_realloc_handler (gim_realloc_function *fn);
|
102
|
-
void gim_set_free_handler (gim_free_function *fn);
|
103
|
-
|
104
|
-
|
105
|
-
///get current memory management functions.
|
106
|
-
gim_alloc_function *gim_get_alloc_handler (void);
|
107
|
-
gim_alloca_function *gim_get_alloca_handler(void);
|
108
|
-
gim_realloc_function *gim_get_realloc_handler (void);
|
109
|
-
gim_free_function *gim_get_free_handler (void);
|
110
|
-
|
111
|
-
|
112
|
-
///Standar Memory functions
|
113
|
-
void * gim_alloc(size_t size);
|
114
|
-
void * gim_alloca(size_t size);
|
115
|
-
void * gim_realloc(void *ptr, size_t oldsize, size_t newsize);
|
116
|
-
void gim_free(void *ptr);
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
#if defined (_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
121
|
-
#define GIM_SIMD_MEMORY 1
|
122
|
-
#endif
|
123
|
-
|
124
|
-
//! SIMD POINTER INTEGER
|
125
|
-
#define SIMD_T GUINT64
|
126
|
-
//! SIMD INTEGER SIZE
|
127
|
-
#define SIMD_T_SIZE sizeof(SIMD_T)
|
128
|
-
|
129
|
-
|
130
|
-
inline void gim_simd_memcpy(void * dst, const void * src, size_t copysize)
|
131
|
-
{
|
132
|
-
#ifdef GIM_SIMD_MEMORY
|
133
|
-
/*
|
134
|
-
//'long long int' is incompatible with visual studio 6...
|
135
|
-
//copy words
|
136
|
-
SIMD_T * ui_src_ptr = (SIMD_T *)src;
|
137
|
-
SIMD_T * ui_dst_ptr = (SIMD_T *)dst;
|
138
|
-
while(copysize>=SIMD_T_SIZE)
|
139
|
-
{
|
140
|
-
*(ui_dst_ptr++) = *(ui_src_ptr++);
|
141
|
-
copysize-=SIMD_T_SIZE;
|
142
|
-
}
|
143
|
-
if(copysize==0) return;
|
144
|
-
*/
|
145
|
-
|
146
|
-
char * c_src_ptr = (char *)src;
|
147
|
-
char * c_dst_ptr = (char *)dst;
|
148
|
-
while(copysize>0)
|
149
|
-
{
|
150
|
-
*(c_dst_ptr++) = *(c_src_ptr++);
|
151
|
-
copysize--;
|
152
|
-
}
|
153
|
-
return;
|
154
|
-
#else
|
155
|
-
memcpy(dst,src,copysize);
|
156
|
-
#endif
|
157
|
-
}
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
template<class T>
|
162
|
-
inline void gim_swap_elements(T* _array,size_t _i,size_t _j)
|
163
|
-
{
|
164
|
-
T _e_tmp_ = _array[_i];
|
165
|
-
_array[_i] = _array[_j];
|
166
|
-
_array[_j] = _e_tmp_;
|
167
|
-
}
|
168
|
-
|
169
|
-
|
170
|
-
template<class T>
|
171
|
-
inline void gim_swap_elements_memcpy(T* _array,size_t _i,size_t _j)
|
172
|
-
{
|
173
|
-
char _e_tmp_[sizeof(T)];
|
174
|
-
gim_simd_memcpy(_e_tmp_,&_array[_i],sizeof(T));
|
175
|
-
gim_simd_memcpy(&_array[_i],&_array[_j],sizeof(T));
|
176
|
-
gim_simd_memcpy(&_array[_j],_e_tmp_,sizeof(T));
|
177
|
-
}
|
178
|
-
|
179
|
-
template <int SIZE>
|
180
|
-
inline void gim_swap_elements_ptr(char * _array,size_t _i,size_t _j)
|
181
|
-
{
|
182
|
-
char _e_tmp_[SIZE];
|
183
|
-
_i*=SIZE;
|
184
|
-
_j*=SIZE;
|
185
|
-
gim_simd_memcpy(_e_tmp_,_array+_i,SIZE);
|
186
|
-
gim_simd_memcpy(_array+_i,_array+_j,SIZE);
|
187
|
-
gim_simd_memcpy(_array+_j,_e_tmp_,SIZE);
|
188
|
-
}
|
189
|
-
|
190
|
-
#endif // GIM_MEMORY_H_INCLUDED
|