{-#LANGUAGE ForeignFunctionInterface#-} #include "Bullet.h" module Physics.Bullet.Raw.Class where import Control.Monad import Foreign.Marshal.Alloc import Foreign.ForeignPtr import Foreign.Ptr import Physics.Bullet.Raw.C2HS import Physics.Bullet.Raw.Types -- * Class Pointer Types {#pointer O_btSoftBody_AJoint as BtSoftBody_AJoint foreign newtype#} mkBtSoftBody_AJoint p = liftM BtSoftBody_AJoint $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_AllHitsRayResultCallback as BtCollisionWorld_AllHitsRayResultCallback foreign newtype#} mkBtCollisionWorld_AllHitsRayResultCallback p = liftM BtCollisionWorld_AllHitsRayResultCallback $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Anchor as BtSoftBody_Anchor foreign newtype#} mkBtSoftBody_Anchor p = liftM BtSoftBody_Anchor $ newForeignPtr_ $ castPtr p {#pointer O_bT_BOX_BOX_TRANSFORM_CACHE as BT_BOX_BOX_TRANSFORM_CACHE foreign newtype#} mkBT_BOX_BOX_TRANSFORM_CACHE p = liftM BT_BOX_BOX_TRANSFORM_CACHE $ newForeignPtr_ $ castPtr p {#pointer O_bT_QUANTIZED_BVH_NODE as BT_QUANTIZED_BVH_NODE foreign newtype#} mkBT_QUANTIZED_BVH_NODE p = liftM BT_QUANTIZED_BVH_NODE $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Body as BtSoftBody_Body foreign newtype#} mkBtSoftBody_Body p = liftM BtSoftBody_Body $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_CJoint as BtSoftBody_CJoint foreign newtype#} mkBtSoftBody_CJoint p = liftM BtSoftBody_CJoint $ newForeignPtr_ $ castPtr p {#pointer O_cProfileIterator as CProfileIterator foreign newtype#} mkCProfileIterator p = liftM CProfileIterator $ newForeignPtr_ $ castPtr p {#pointer O_cProfileManager as CProfileManager foreign newtype#} mkCProfileManager p = liftM CProfileManager $ newForeignPtr_ $ castPtr p {#pointer O_cProfileNode as CProfileNode foreign newtype#} mkCProfileNode p = liftM CProfileNode $ newForeignPtr_ $ castPtr p {#pointer O_cProfileSample as CProfileSample foreign newtype#} mkCProfileSample p = liftM CProfileSample $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_ClosestConvexResultCallback as BtCollisionWorld_ClosestConvexResultCallback foreign newtype#} mkBtCollisionWorld_ClosestConvexResultCallback p = liftM BtCollisionWorld_ClosestConvexResultCallback $ newForeignPtr_ $ castPtr p {#pointer O_btDiscreteCollisionDetectorInterface_ClosestPointInput as BtDiscreteCollisionDetectorInterface_ClosestPointInput foreign newtype#} mkBtDiscreteCollisionDetectorInterface_ClosestPointInput p = liftM BtDiscreteCollisionDetectorInterface_ClosestPointInput $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_ClosestRayResultCallback as BtCollisionWorld_ClosestRayResultCallback foreign newtype#} mkBtCollisionWorld_ClosestRayResultCallback p = liftM BtCollisionWorld_ClosestRayResultCallback $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Cluster as BtSoftBody_Cluster foreign newtype#} mkBtSoftBody_Cluster p = liftM BtSoftBody_Cluster $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactCompoundShape_CompoundPrimitiveManager as BtGImpactCompoundShape_CompoundPrimitiveManager foreign newtype#} mkBtGImpactCompoundShape_CompoundPrimitiveManager p = liftM BtGImpactCompoundShape_CompoundPrimitiveManager $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Config as BtSoftBody_Config foreign newtype#} mkBtSoftBody_Config p = liftM BtSoftBody_Config $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_ContactResultCallback as BtCollisionWorld_ContactResultCallback foreign newtype#} mkBtCollisionWorld_ContactResultCallback p = liftM BtCollisionWorld_ContactResultCallback $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_ConvexResultCallback as BtCollisionWorld_ConvexResultCallback foreign newtype#} mkBtCollisionWorld_ConvexResultCallback p = liftM BtCollisionWorld_ConvexResultCallback $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactCollisionAlgorithm_CreateFunc as BtGImpactCollisionAlgorithm_CreateFunc foreign newtype#} mkBtGImpactCollisionAlgorithm_CreateFunc p = liftM BtGImpactCollisionAlgorithm_CreateFunc $ newForeignPtr_ $ castPtr p {#pointer O_btSphereSphereCollisionAlgorithm_CreateFunc as BtSphereSphereCollisionAlgorithm_CreateFunc foreign newtype#} mkBtSphereSphereCollisionAlgorithm_CreateFunc p = liftM BtSphereSphereCollisionAlgorithm_CreateFunc $ newForeignPtr_ $ castPtr p {#pointer O_btConvexConvexAlgorithm_CreateFunc as BtConvexConvexAlgorithm_CreateFunc foreign newtype#} mkBtConvexConvexAlgorithm_CreateFunc p = liftM BtConvexConvexAlgorithm_CreateFunc $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Element as BtSoftBody_Element foreign newtype#} mkBtSoftBody_Element p = liftM BtSoftBody_Element $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Face as BtSoftBody_Face foreign newtype#} mkBtSoftBody_Face p = liftM BtSoftBody_Face $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Feature as BtSoftBody_Feature foreign newtype#} mkBtSoftBody_Feature p = liftM BtSoftBody_Feature $ newForeignPtr_ $ castPtr p {#pointer O_gIM_BVH_DATA as GIM_BVH_DATA foreign newtype#} mkGIM_BVH_DATA p = liftM GIM_BVH_DATA $ newForeignPtr_ $ castPtr p {#pointer O_gIM_BVH_DATA_ARRAY as GIM_BVH_DATA_ARRAY foreign newtype#} mkGIM_BVH_DATA_ARRAY p = liftM GIM_BVH_DATA_ARRAY $ newForeignPtr_ $ castPtr p {#pointer O_gIM_BVH_TREE_NODE as GIM_BVH_TREE_NODE foreign newtype#} mkGIM_BVH_TREE_NODE p = liftM GIM_BVH_TREE_NODE $ newForeignPtr_ $ castPtr p {#pointer O_gIM_BVH_TREE_NODE_ARRAY as GIM_BVH_TREE_NODE_ARRAY foreign newtype#} mkGIM_BVH_TREE_NODE_ARRAY p = liftM GIM_BVH_TREE_NODE_ARRAY $ newForeignPtr_ $ castPtr p {#pointer O_gIM_PAIR as GIM_PAIR foreign newtype#} mkGIM_PAIR p = liftM GIM_PAIR $ newForeignPtr_ $ castPtr p {#pointer O_gIM_QUANTIZED_BVH_NODE_ARRAY as GIM_QUANTIZED_BVH_NODE_ARRAY foreign newtype#} mkGIM_QUANTIZED_BVH_NODE_ARRAY p = liftM GIM_QUANTIZED_BVH_NODE_ARRAY $ newForeignPtr_ $ castPtr p {#pointer O_gIM_TRIANGLE_CONTACT as GIM_TRIANGLE_CONTACT foreign newtype#} mkGIM_TRIANGLE_CONTACT p = liftM GIM_TRIANGLE_CONTACT $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt_IClone as BtDbvt_IClone foreign newtype#} mkBtDbvt_IClone p = liftM BtDbvt_IClone $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt_ICollide as BtDbvt_ICollide foreign newtype#} mkBtDbvt_ICollide p = liftM BtDbvt_ICollide $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_AJoint_IControl as BtSoftBody_AJoint_IControl foreign newtype#} mkBtSoftBody_AJoint_IControl p = liftM BtSoftBody_AJoint_IControl $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt_IWriter as BtDbvt_IWriter foreign newtype#} mkBtDbvt_IWriter p = liftM BtDbvt_IWriter $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_ImplicitFn as BtSoftBody_ImplicitFn foreign newtype#} mkBtSoftBody_ImplicitFn p = liftM BtSoftBody_ImplicitFn $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Impulse as BtSoftBody_Impulse foreign newtype#} mkBtSoftBody_Impulse p = liftM BtSoftBody_Impulse $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Joint as BtSoftBody_Joint foreign newtype#} mkBtSoftBody_Joint p = liftM BtSoftBody_Joint $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_LJoint as BtSoftBody_LJoint foreign newtype#} mkBtSoftBody_LJoint p = liftM BtSoftBody_LJoint $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Link as BtSoftBody_Link foreign newtype#} mkBtSoftBody_Link p = liftM BtSoftBody_Link $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_LocalConvexResult as BtCollisionWorld_LocalConvexResult foreign newtype#} mkBtCollisionWorld_LocalConvexResult p = liftM BtCollisionWorld_LocalConvexResult $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_LocalRayResult as BtCollisionWorld_LocalRayResult foreign newtype#} mkBtCollisionWorld_LocalRayResult p = liftM BtCollisionWorld_LocalRayResult $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_LocalShapeInfo as BtCollisionWorld_LocalShapeInfo foreign newtype#} mkBtCollisionWorld_LocalShapeInfo p = liftM BtCollisionWorld_LocalShapeInfo $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Material as BtSoftBody_Material foreign newtype#} mkBtSoftBody_Material p = liftM BtSoftBody_Material $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Node as BtSoftBody_Node foreign newtype#} mkBtSoftBody_Node p = liftM BtSoftBody_Node $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Note as BtSoftBody_Note foreign newtype#} mkBtSoftBody_Note p = liftM BtSoftBody_Note $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Pose as BtSoftBody_Pose foreign newtype#} mkBtSoftBody_Pose p = liftM BtSoftBody_Pose $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_RContact as BtSoftBody_RContact foreign newtype#} mkBtSoftBody_RContact p = liftM BtSoftBody_RContact $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_RayFromToCaster as BtSoftBody_RayFromToCaster foreign newtype#} mkBtSoftBody_RayFromToCaster p = liftM BtSoftBody_RayFromToCaster $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld_RayResultCallback as BtCollisionWorld_RayResultCallback foreign newtype#} mkBtCollisionWorld_RayResultCallback p = liftM BtCollisionWorld_RayResultCallback $ newForeignPtr_ $ castPtr p {#pointer O_btWheelInfo_RaycastInfo as BtWheelInfo_RaycastInfo foreign newtype#} mkBtWheelInfo_RaycastInfo p = liftM BtWheelInfo_RaycastInfo $ newForeignPtr_ $ castPtr p {#pointer O_btDiscreteCollisionDetectorInterface_Result as BtDiscreteCollisionDetectorInterface_Result foreign newtype#} mkBtDiscreteCollisionDetectorInterface_Result p = liftM BtDiscreteCollisionDetectorInterface_Result $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_SContact as BtSoftBody_SContact foreign newtype#} mkBtSoftBody_SContact p = liftM BtSoftBody_SContact $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_SolverState as BtSoftBody_SolverState foreign newtype#} mkBtSoftBody_SolverState p = liftM BtSoftBody_SolverState $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Joint_Specs as BtSoftBody_Joint_Specs foreign newtype#} mkBtSoftBody_Joint_Specs p = liftM BtSoftBody_Joint_Specs $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_LJoint_Specs as BtSoftBody_LJoint_Specs foreign newtype#} mkBtSoftBody_LJoint_Specs p = liftM BtSoftBody_LJoint_Specs $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_AJoint_Specs as BtSoftBody_AJoint_Specs foreign newtype#} mkBtSoftBody_AJoint_Specs p = liftM BtSoftBody_AJoint_Specs $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Tetra as BtSoftBody_Tetra foreign newtype#} mkBtSoftBody_Tetra p = liftM BtSoftBody_Tetra $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactMeshShapePart_TrimeshPrimitiveManager as BtGImpactMeshShapePart_TrimeshPrimitiveManager foreign newtype#} mkBtGImpactMeshShapePart_TrimeshPrimitiveManager p = liftM BtGImpactMeshShapePart_TrimeshPrimitiveManager $ newForeignPtr_ $ castPtr p {#pointer O_bt32BitAxisSweep3 as Bt32BitAxisSweep3 foreign newtype#} mkBt32BitAxisSweep3 p = liftM Bt32BitAxisSweep3 $ newForeignPtr_ $ castPtr p {#pointer O_btAABB as BtAABB foreign newtype#} mkBtAABB p = liftM BtAABB $ newForeignPtr_ $ castPtr p {#pointer O_btActionInterface as BtActionInterface foreign newtype#} mkBtActionInterface p = liftM BtActionInterface $ newForeignPtr_ $ castPtr p {#pointer O_btActivatingCollisionAlgorithm as BtActivatingCollisionAlgorithm foreign newtype#} mkBtActivatingCollisionAlgorithm p = liftM BtActivatingCollisionAlgorithm $ newForeignPtr_ $ castPtr p {#pointer O_btAngularLimit as BtAngularLimit foreign newtype#} mkBtAngularLimit p = liftM BtAngularLimit $ newForeignPtr_ $ castPtr p {#pointer O_btAxisSweep3 as BtAxisSweep3 foreign newtype#} mkBtAxisSweep3 p = liftM BtAxisSweep3 $ newForeignPtr_ $ castPtr p {#pointer O_btBU_Simplex1to4 as BtBU_Simplex1to4 foreign newtype#} mkBtBU_Simplex1to4 p = liftM BtBU_Simplex1to4 $ newForeignPtr_ $ castPtr p {#pointer O_btBlock as BtBlock foreign newtype#} mkBtBlock p = liftM BtBlock $ newForeignPtr_ $ castPtr p {#pointer O_btBoxShape as BtBoxShape foreign newtype#} mkBtBoxShape p = liftM BtBoxShape $ newForeignPtr_ $ castPtr p {#pointer O_btBroadphaseAabbCallback as BtBroadphaseAabbCallback foreign newtype#} mkBtBroadphaseAabbCallback p = liftM BtBroadphaseAabbCallback $ newForeignPtr_ $ castPtr p {#pointer O_btBroadphaseInterface as BtBroadphaseInterface foreign newtype#} mkBtBroadphaseInterface p = liftM BtBroadphaseInterface $ newForeignPtr_ $ castPtr p {#pointer O_btBroadphasePair as BtBroadphasePair foreign newtype#} mkBtBroadphasePair p = liftM BtBroadphasePair $ newForeignPtr_ $ castPtr p {#pointer O_btBroadphasePairSortPredicate as BtBroadphasePairSortPredicate foreign newtype#} mkBtBroadphasePairSortPredicate p = liftM BtBroadphasePairSortPredicate $ newForeignPtr_ $ castPtr p {#pointer O_btBroadphaseProxy as BtBroadphaseProxy foreign newtype#} mkBtBroadphaseProxy p = liftM BtBroadphaseProxy $ newForeignPtr_ $ castPtr p {#pointer O_btBroadphaseRayCallback as BtBroadphaseRayCallback foreign newtype#} mkBtBroadphaseRayCallback p = liftM BtBroadphaseRayCallback $ newForeignPtr_ $ castPtr p {#pointer O_btBvhSubtreeInfo as BtBvhSubtreeInfo foreign newtype#} mkBtBvhSubtreeInfo p = liftM BtBvhSubtreeInfo $ newForeignPtr_ $ castPtr p {#pointer O_btBvhSubtreeInfoData as BtBvhSubtreeInfoData foreign newtype#} mkBtBvhSubtreeInfoData p = liftM BtBvhSubtreeInfoData $ newForeignPtr_ $ castPtr p {#pointer O_btBvhTree as BtBvhTree foreign newtype#} mkBtBvhTree p = liftM BtBvhTree $ newForeignPtr_ $ castPtr p {#pointer O_btBvhTriangleMeshShape as BtBvhTriangleMeshShape foreign newtype#} mkBtBvhTriangleMeshShape p = liftM BtBvhTriangleMeshShape $ newForeignPtr_ $ castPtr p {#pointer O_btCapsuleShape as BtCapsuleShape foreign newtype#} mkBtCapsuleShape p = liftM BtCapsuleShape $ newForeignPtr_ $ castPtr p {#pointer O_btCapsuleShapeData as BtCapsuleShapeData foreign newtype#} mkBtCapsuleShapeData p = liftM BtCapsuleShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btCapsuleShapeX as BtCapsuleShapeX foreign newtype#} mkBtCapsuleShapeX p = liftM BtCapsuleShapeX $ newForeignPtr_ $ castPtr p {#pointer O_btCapsuleShapeZ as BtCapsuleShapeZ foreign newtype#} mkBtCapsuleShapeZ p = liftM BtCapsuleShapeZ $ newForeignPtr_ $ castPtr p {#pointer O_btCharIndexTripletData as BtCharIndexTripletData foreign newtype#} mkBtCharIndexTripletData p = liftM BtCharIndexTripletData $ newForeignPtr_ $ castPtr p {#pointer O_btChunk as BtChunk foreign newtype#} mkBtChunk p = liftM BtChunk $ newForeignPtr_ $ castPtr p {#pointer O_btClock as BtClock foreign newtype#} mkBtClock p = liftM BtClock $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionAlgorithm as BtCollisionAlgorithm foreign newtype#} mkBtCollisionAlgorithm p = liftM BtCollisionAlgorithm $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionAlgorithmConstructionInfo as BtCollisionAlgorithmConstructionInfo foreign newtype#} mkBtCollisionAlgorithmConstructionInfo p = liftM BtCollisionAlgorithmConstructionInfo $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionAlgorithmCreateFunc as BtCollisionAlgorithmCreateFunc foreign newtype#} mkBtCollisionAlgorithmCreateFunc p = liftM BtCollisionAlgorithmCreateFunc $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionConfiguration as BtCollisionConfiguration foreign newtype#} mkBtCollisionConfiguration p = liftM BtCollisionConfiguration $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionDispatcher as BtCollisionDispatcher foreign newtype#} mkBtCollisionDispatcher p = liftM BtCollisionDispatcher $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionObject as BtCollisionObject foreign newtype#} mkBtCollisionObject p = liftM BtCollisionObject $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionObjectDoubleData as BtCollisionObjectDoubleData foreign newtype#} mkBtCollisionObjectDoubleData p = liftM BtCollisionObjectDoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionObjectFloatData as BtCollisionObjectFloatData foreign newtype#} mkBtCollisionObjectFloatData p = liftM BtCollisionObjectFloatData $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionShape as BtCollisionShape foreign newtype#} mkBtCollisionShape p = liftM BtCollisionShape $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionShapeData as BtCollisionShapeData foreign newtype#} mkBtCollisionShapeData p = liftM BtCollisionShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btCollisionWorld as BtCollisionWorld foreign newtype#} mkBtCollisionWorld p = liftM BtCollisionWorld $ newForeignPtr_ $ castPtr p {#pointer O_btCompoundShape as BtCompoundShape foreign newtype#} mkBtCompoundShape p = liftM BtCompoundShape $ newForeignPtr_ $ castPtr p {#pointer O_btCompoundShapeChild as BtCompoundShapeChild foreign newtype#} mkBtCompoundShapeChild p = liftM BtCompoundShapeChild $ newForeignPtr_ $ castPtr p {#pointer O_btCompoundShapeChildData as BtCompoundShapeChildData foreign newtype#} mkBtCompoundShapeChildData p = liftM BtCompoundShapeChildData $ newForeignPtr_ $ castPtr p {#pointer O_btCompoundShapeData as BtCompoundShapeData foreign newtype#} mkBtCompoundShapeData p = liftM BtCompoundShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btConcaveShape as BtConcaveShape foreign newtype#} mkBtConcaveShape p = liftM BtConcaveShape $ newForeignPtr_ $ castPtr p {#pointer O_btConeShape as BtConeShape foreign newtype#} mkBtConeShape p = liftM BtConeShape $ newForeignPtr_ $ castPtr p {#pointer O_btConeShapeX as BtConeShapeX foreign newtype#} mkBtConeShapeX p = liftM BtConeShapeX $ newForeignPtr_ $ castPtr p {#pointer O_btConeShapeZ as BtConeShapeZ foreign newtype#} mkBtConeShapeZ p = liftM BtConeShapeZ $ newForeignPtr_ $ castPtr p {#pointer O_btConeTwistConstraint as BtConeTwistConstraint foreign newtype#} mkBtConeTwistConstraint p = liftM BtConeTwistConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btConeTwistConstraintData as BtConeTwistConstraintData foreign newtype#} mkBtConeTwistConstraintData p = liftM BtConeTwistConstraintData $ newForeignPtr_ $ castPtr p {#pointer O_btTypedConstraint_btConstraintInfo1 as BtTypedConstraint_btConstraintInfo1 foreign newtype#} mkBtTypedConstraint_btConstraintInfo1 p = liftM BtTypedConstraint_btConstraintInfo1 $ newForeignPtr_ $ castPtr p {#pointer O_btTypedConstraint_btConstraintInfo2 as BtTypedConstraint_btConstraintInfo2 foreign newtype#} mkBtTypedConstraint_btConstraintInfo2 p = liftM BtTypedConstraint_btConstraintInfo2 $ newForeignPtr_ $ castPtr p {#pointer O_btConstraintRow as BtConstraintRow foreign newtype#} mkBtConstraintRow p = liftM BtConstraintRow $ newForeignPtr_ $ castPtr p {#pointer O_btConstraintSetting as BtConstraintSetting foreign newtype#} mkBtConstraintSetting p = liftM BtConstraintSetting $ newForeignPtr_ $ castPtr p {#pointer O_btConstraintSolver as BtConstraintSolver foreign newtype#} mkBtConstraintSolver p = liftM BtConstraintSolver $ newForeignPtr_ $ castPtr p {#pointer O_btContactConstraint as BtContactConstraint foreign newtype#} mkBtContactConstraint p = liftM BtContactConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btContactSolverInfo as BtContactSolverInfo foreign newtype#} mkBtContactSolverInfo p = liftM BtContactSolverInfo $ newForeignPtr_ $ castPtr p {#pointer O_btContactSolverInfoData as BtContactSolverInfoData foreign newtype#} mkBtContactSolverInfoData p = liftM BtContactSolverInfoData $ newForeignPtr_ $ castPtr p {#pointer O_btContinuousDynamicsWorld as BtContinuousDynamicsWorld foreign newtype#} mkBtContinuousDynamicsWorld p = liftM BtContinuousDynamicsWorld $ newForeignPtr_ $ castPtr p {#pointer O_btConvexConvexAlgorithm as BtConvexConvexAlgorithm foreign newtype#} mkBtConvexConvexAlgorithm p = liftM BtConvexConvexAlgorithm $ newForeignPtr_ $ castPtr p {#pointer O_btConvexHullShape as BtConvexHullShape foreign newtype#} mkBtConvexHullShape p = liftM BtConvexHullShape $ newForeignPtr_ $ castPtr p {#pointer O_btConvexHullShapeData as BtConvexHullShapeData foreign newtype#} mkBtConvexHullShapeData p = liftM BtConvexHullShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btConvexInternalAabbCachingShape as BtConvexInternalAabbCachingShape foreign newtype#} mkBtConvexInternalAabbCachingShape p = liftM BtConvexInternalAabbCachingShape $ newForeignPtr_ $ castPtr p {#pointer O_btConvexInternalShape as BtConvexInternalShape foreign newtype#} mkBtConvexInternalShape p = liftM BtConvexInternalShape $ newForeignPtr_ $ castPtr p {#pointer O_btConvexInternalShapeData as BtConvexInternalShapeData foreign newtype#} mkBtConvexInternalShapeData p = liftM BtConvexInternalShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btConvexSeparatingDistanceUtil as BtConvexSeparatingDistanceUtil foreign newtype#} mkBtConvexSeparatingDistanceUtil p = liftM BtConvexSeparatingDistanceUtil $ newForeignPtr_ $ castPtr p {#pointer O_btConvexShape as BtConvexShape foreign newtype#} mkBtConvexShape p = liftM BtConvexShape $ newForeignPtr_ $ castPtr p {#pointer O_btConvexTriangleMeshShape as BtConvexTriangleMeshShape foreign newtype#} mkBtConvexTriangleMeshShape p = liftM BtConvexTriangleMeshShape $ newForeignPtr_ $ castPtr p {#pointer O_btCylinderShape as BtCylinderShape foreign newtype#} mkBtCylinderShape p = liftM BtCylinderShape $ newForeignPtr_ $ castPtr p {#pointer O_btCylinderShapeData as BtCylinderShapeData foreign newtype#} mkBtCylinderShapeData p = liftM BtCylinderShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btCylinderShapeX as BtCylinderShapeX foreign newtype#} mkBtCylinderShapeX p = liftM BtCylinderShapeX $ newForeignPtr_ $ castPtr p {#pointer O_btCylinderShapeZ as BtCylinderShapeZ foreign newtype#} mkBtCylinderShapeZ p = liftM BtCylinderShapeZ $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt as BtDbvt foreign newtype#} mkBtDbvt p = liftM BtDbvt $ newForeignPtr_ $ castPtr p {#pointer O_btDbvtAabbMm as BtDbvtAabbMm foreign newtype#} mkBtDbvtAabbMm p = liftM BtDbvtAabbMm $ newForeignPtr_ $ castPtr p {#pointer O_btDbvtBroadphase as BtDbvtBroadphase foreign newtype#} mkBtDbvtBroadphase p = liftM BtDbvtBroadphase $ newForeignPtr_ $ castPtr p {#pointer O_btDbvtNode as BtDbvtNode foreign newtype#} mkBtDbvtNode p = liftM BtDbvtNode $ newForeignPtr_ $ castPtr p {#pointer O_btDbvtProxy as BtDbvtProxy foreign newtype#} mkBtDbvtProxy p = liftM BtDbvtProxy $ newForeignPtr_ $ castPtr p {#pointer O_btDefaultCollisionConfiguration as BtDefaultCollisionConfiguration foreign newtype#} mkBtDefaultCollisionConfiguration p = liftM BtDefaultCollisionConfiguration $ newForeignPtr_ $ castPtr p {#pointer O_btDefaultCollisionConstructionInfo as BtDefaultCollisionConstructionInfo foreign newtype#} mkBtDefaultCollisionConstructionInfo p = liftM BtDefaultCollisionConstructionInfo $ newForeignPtr_ $ castPtr p {#pointer O_btDefaultMotionState as BtDefaultMotionState foreign newtype#} mkBtDefaultMotionState p = liftM BtDefaultMotionState $ newForeignPtr_ $ castPtr p {#pointer O_btDefaultSerializer as BtDefaultSerializer foreign newtype#} mkBtDefaultSerializer p = liftM BtDefaultSerializer $ newForeignPtr_ $ castPtr p {#pointer O_btDefaultVehicleRaycaster as BtDefaultVehicleRaycaster foreign newtype#} mkBtDefaultVehicleRaycaster p = liftM BtDefaultVehicleRaycaster $ newForeignPtr_ $ castPtr p {#pointer O_btDiscreteCollisionDetectorInterface as BtDiscreteCollisionDetectorInterface foreign newtype#} mkBtDiscreteCollisionDetectorInterface p = liftM BtDiscreteCollisionDetectorInterface $ newForeignPtr_ $ castPtr p {#pointer O_btDiscreteDynamicsWorld as BtDiscreteDynamicsWorld foreign newtype#} mkBtDiscreteDynamicsWorld p = liftM BtDiscreteDynamicsWorld $ newForeignPtr_ $ castPtr p {#pointer O_btDispatcher as BtDispatcher foreign newtype#} mkBtDispatcher p = liftM BtDispatcher $ newForeignPtr_ $ castPtr p {#pointer O_btDispatcherInfo as BtDispatcherInfo foreign newtype#} mkBtDispatcherInfo p = liftM BtDispatcherInfo $ newForeignPtr_ $ castPtr p {#pointer O_btDynamicsWorld as BtDynamicsWorld foreign newtype#} mkBtDynamicsWorld p = liftM BtDynamicsWorld $ newForeignPtr_ $ castPtr p {#pointer O_btEmptyShape as BtEmptyShape foreign newtype#} mkBtEmptyShape p = liftM BtEmptyShape $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactBvh as BtGImpactBvh foreign newtype#} mkBtGImpactBvh p = liftM BtGImpactBvh $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactCollisionAlgorithm as BtGImpactCollisionAlgorithm foreign newtype#} mkBtGImpactCollisionAlgorithm p = liftM BtGImpactCollisionAlgorithm $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactCompoundShape as BtGImpactCompoundShape foreign newtype#} mkBtGImpactCompoundShape p = liftM BtGImpactCompoundShape $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactMeshShape as BtGImpactMeshShape foreign newtype#} mkBtGImpactMeshShape p = liftM BtGImpactMeshShape $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactMeshShapeData as BtGImpactMeshShapeData foreign newtype#} mkBtGImpactMeshShapeData p = liftM BtGImpactMeshShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactMeshShapePart as BtGImpactMeshShapePart foreign newtype#} mkBtGImpactMeshShapePart p = liftM BtGImpactMeshShapePart $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactQuantizedBvh as BtGImpactQuantizedBvh foreign newtype#} mkBtGImpactQuantizedBvh p = liftM BtGImpactQuantizedBvh $ newForeignPtr_ $ castPtr p {#pointer O_btGImpactShapeInterface as BtGImpactShapeInterface foreign newtype#} mkBtGImpactShapeInterface p = liftM BtGImpactShapeInterface $ newForeignPtr_ $ castPtr p {#pointer O_btGLDebugDrawer as BtGLDebugDrawer foreign newtype#} mkBtGLDebugDrawer p = liftM BtGLDebugDrawer $ newForeignPtr_ $ castPtr p {#pointer O_btGeneric6DofConstraint as BtGeneric6DofConstraint foreign newtype#} mkBtGeneric6DofConstraint p = liftM BtGeneric6DofConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btGeneric6DofConstraintData as BtGeneric6DofConstraintData foreign newtype#} mkBtGeneric6DofConstraintData p = liftM BtGeneric6DofConstraintData $ newForeignPtr_ $ castPtr p {#pointer O_btGeneric6DofSpringConstraint as BtGeneric6DofSpringConstraint foreign newtype#} mkBtGeneric6DofSpringConstraint p = liftM BtGeneric6DofSpringConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btGeneric6DofSpringConstraintData as BtGeneric6DofSpringConstraintData foreign newtype#} mkBtGeneric6DofSpringConstraintData p = liftM BtGeneric6DofSpringConstraintData $ newForeignPtr_ $ castPtr p {#pointer O_btGeometryUtil as BtGeometryUtil foreign newtype#} mkBtGeometryUtil p = liftM BtGeometryUtil $ newForeignPtr_ $ castPtr p {#pointer O_btGjkEpaSolver2 as BtGjkEpaSolver2 foreign newtype#} mkBtGjkEpaSolver2 p = liftM BtGjkEpaSolver2 $ newForeignPtr_ $ castPtr p {#pointer O_btGjkPairDetector as BtGjkPairDetector foreign newtype#} mkBtGjkPairDetector p = liftM BtGjkPairDetector $ newForeignPtr_ $ castPtr p {#pointer O_btHashInt as BtHashInt foreign newtype#} mkBtHashInt p = liftM BtHashInt $ newForeignPtr_ $ castPtr p {#pointer O_btHashPtr as BtHashPtr foreign newtype#} mkBtHashPtr p = liftM BtHashPtr $ newForeignPtr_ $ castPtr p {#pointer O_btHashString as BtHashString foreign newtype#} mkBtHashString p = liftM BtHashString $ newForeignPtr_ $ castPtr p {#pointer O_btHashedOverlappingPairCache as BtHashedOverlappingPairCache foreign newtype#} mkBtHashedOverlappingPairCache p = liftM BtHashedOverlappingPairCache $ newForeignPtr_ $ castPtr p {#pointer O_btHinge2Constraint as BtHinge2Constraint foreign newtype#} mkBtHinge2Constraint p = liftM BtHinge2Constraint $ newForeignPtr_ $ castPtr p {#pointer O_btHingeConstraint as BtHingeConstraint foreign newtype#} mkBtHingeConstraint p = liftM BtHingeConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btHingeConstraintDoubleData as BtHingeConstraintDoubleData foreign newtype#} mkBtHingeConstraintDoubleData p = liftM BtHingeConstraintDoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btHingeConstraintFloatData as BtHingeConstraintFloatData foreign newtype#} mkBtHingeConstraintFloatData p = liftM BtHingeConstraintFloatData $ newForeignPtr_ $ castPtr p {#pointer O_btIDebugDraw as BtIDebugDraw foreign newtype#} mkBtIDebugDraw p = liftM BtIDebugDraw $ newForeignPtr_ $ castPtr p {#pointer O_btIndexedMesh as BtIndexedMesh foreign newtype#} mkBtIndexedMesh p = liftM BtIndexedMesh $ newForeignPtr_ $ castPtr p {#pointer O_btIntIndexData as BtIntIndexData foreign newtype#} mkBtIntIndexData p = liftM BtIntIndexData $ newForeignPtr_ $ castPtr p {#pointer O_btInternalTriangleIndexCallback as BtInternalTriangleIndexCallback foreign newtype#} mkBtInternalTriangleIndexCallback p = liftM BtInternalTriangleIndexCallback $ newForeignPtr_ $ castPtr p {#pointer O_btJacobianEntry as BtJacobianEntry foreign newtype#} mkBtJacobianEntry p = liftM BtJacobianEntry $ newForeignPtr_ $ castPtr p {#pointer O_btManifoldPoint as BtManifoldPoint foreign newtype#} mkBtManifoldPoint p = liftM BtManifoldPoint $ newForeignPtr_ $ castPtr p {#pointer O_btManifoldResult as BtManifoldResult foreign newtype#} mkBtManifoldResult p = liftM BtManifoldResult $ newForeignPtr_ $ castPtr p {#pointer O_btMatrix3x3DoubleData as BtMatrix3x3DoubleData foreign newtype#} mkBtMatrix3x3DoubleData p = liftM BtMatrix3x3DoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btMatrix3x3FloatData as BtMatrix3x3FloatData foreign newtype#} mkBtMatrix3x3FloatData p = liftM BtMatrix3x3FloatData $ newForeignPtr_ $ castPtr p {#pointer O_btMeshPartData as BtMeshPartData foreign newtype#} mkBtMeshPartData p = liftM BtMeshPartData $ newForeignPtr_ $ castPtr p {#pointer O_btMotionState as BtMotionState foreign newtype#} mkBtMotionState p = liftM BtMotionState $ newForeignPtr_ $ castPtr p {#pointer O_btMultiSapBroadphase as BtMultiSapBroadphase foreign newtype#} mkBtMultiSapBroadphase p = liftM BtMultiSapBroadphase $ newForeignPtr_ $ castPtr p {#pointer O_btMultiSapBroadphase_btMultiSapProxy as BtMultiSapBroadphase_btMultiSapProxy foreign newtype#} mkBtMultiSapBroadphase_btMultiSapProxy p = liftM BtMultiSapBroadphase_btMultiSapProxy $ newForeignPtr_ $ castPtr p {#pointer O_btMultiSphereShape as BtMultiSphereShape foreign newtype#} mkBtMultiSphereShape p = liftM BtMultiSphereShape $ newForeignPtr_ $ castPtr p {#pointer O_btMultiSphereShapeData as BtMultiSphereShapeData foreign newtype#} mkBtMultiSphereShapeData p = liftM BtMultiSphereShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btNodeOverlapCallback as BtNodeOverlapCallback foreign newtype#} mkBtNodeOverlapCallback p = liftM BtNodeOverlapCallback $ newForeignPtr_ $ castPtr p {#pointer O_btNullPairCache as BtNullPairCache foreign newtype#} mkBtNullPairCache p = liftM BtNullPairCache $ newForeignPtr_ $ castPtr p {#pointer O_btOptimizedBvh as BtOptimizedBvh foreign newtype#} mkBtOptimizedBvh p = liftM BtOptimizedBvh $ newForeignPtr_ $ castPtr p {#pointer O_btOptimizedBvhNode as BtOptimizedBvhNode foreign newtype#} mkBtOptimizedBvhNode p = liftM BtOptimizedBvhNode $ newForeignPtr_ $ castPtr p {#pointer O_btOptimizedBvhNodeDoubleData as BtOptimizedBvhNodeDoubleData foreign newtype#} mkBtOptimizedBvhNodeDoubleData p = liftM BtOptimizedBvhNodeDoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btOptimizedBvhNodeFloatData as BtOptimizedBvhNodeFloatData foreign newtype#} mkBtOptimizedBvhNodeFloatData p = liftM BtOptimizedBvhNodeFloatData $ newForeignPtr_ $ castPtr p {#pointer O_btOverlapCallback as BtOverlapCallback foreign newtype#} mkBtOverlapCallback p = liftM BtOverlapCallback $ newForeignPtr_ $ castPtr p {#pointer O_btOverlapFilterCallback as BtOverlapFilterCallback foreign newtype#} mkBtOverlapFilterCallback p = liftM BtOverlapFilterCallback $ newForeignPtr_ $ castPtr p {#pointer O_btOverlappingPairCache as BtOverlappingPairCache foreign newtype#} mkBtOverlappingPairCache p = liftM BtOverlappingPairCache $ newForeignPtr_ $ castPtr p {#pointer O_btOverlappingPairCallback as BtOverlappingPairCallback foreign newtype#} mkBtOverlappingPairCallback p = liftM BtOverlappingPairCallback $ newForeignPtr_ $ castPtr p {#pointer O_btPairSet as BtPairSet foreign newtype#} mkBtPairSet p = liftM BtPairSet $ newForeignPtr_ $ castPtr p {#pointer O_btPersistentManifold as BtPersistentManifold foreign newtype#} mkBtPersistentManifold p = liftM BtPersistentManifold $ newForeignPtr_ $ castPtr p {#pointer O_btPoint2PointConstraint as BtPoint2PointConstraint foreign newtype#} mkBtPoint2PointConstraint p = liftM BtPoint2PointConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btPoint2PointConstraintDoubleData as BtPoint2PointConstraintDoubleData foreign newtype#} mkBtPoint2PointConstraintDoubleData p = liftM BtPoint2PointConstraintDoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btPoint2PointConstraintFloatData as BtPoint2PointConstraintFloatData foreign newtype#} mkBtPoint2PointConstraintFloatData p = liftM BtPoint2PointConstraintFloatData $ newForeignPtr_ $ castPtr p {#pointer O_btPointerUid as BtPointerUid foreign newtype#} mkBtPointerUid p = liftM BtPointerUid $ newForeignPtr_ $ castPtr p {#pointer O_btPolyhedralConvexAabbCachingShape as BtPolyhedralConvexAabbCachingShape foreign newtype#} mkBtPolyhedralConvexAabbCachingShape p = liftM BtPolyhedralConvexAabbCachingShape $ newForeignPtr_ $ castPtr p {#pointer O_btPolyhedralConvexShape as BtPolyhedralConvexShape foreign newtype#} mkBtPolyhedralConvexShape p = liftM BtPolyhedralConvexShape $ newForeignPtr_ $ castPtr p {#pointer O_btPositionAndRadius as BtPositionAndRadius foreign newtype#} mkBtPositionAndRadius p = liftM BtPositionAndRadius $ newForeignPtr_ $ castPtr p {#pointer O_btPrimitiveManagerBase as BtPrimitiveManagerBase foreign newtype#} mkBtPrimitiveManagerBase p = liftM BtPrimitiveManagerBase $ newForeignPtr_ $ castPtr p {#pointer O_btPrimitiveTriangle as BtPrimitiveTriangle foreign newtype#} mkBtPrimitiveTriangle p = liftM BtPrimitiveTriangle $ newForeignPtr_ $ castPtr p {#pointer O_btQuadWord as BtQuadWord foreign newtype#} mkBtQuadWord p = liftM BtQuadWord $ newForeignPtr_ $ castPtr p {#pointer O_btQuantizedBvh as BtQuantizedBvh foreign newtype#} mkBtQuantizedBvh p = liftM BtQuantizedBvh $ newForeignPtr_ $ castPtr p {#pointer O_btQuantizedBvhDoubleData as BtQuantizedBvhDoubleData foreign newtype#} mkBtQuantizedBvhDoubleData p = liftM BtQuantizedBvhDoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btQuantizedBvhFloatData as BtQuantizedBvhFloatData foreign newtype#} mkBtQuantizedBvhFloatData p = liftM BtQuantizedBvhFloatData $ newForeignPtr_ $ castPtr p {#pointer O_btQuantizedBvhNode as BtQuantizedBvhNode foreign newtype#} mkBtQuantizedBvhNode p = liftM BtQuantizedBvhNode $ newForeignPtr_ $ castPtr p {#pointer O_btQuantizedBvhNodeData as BtQuantizedBvhNodeData foreign newtype#} mkBtQuantizedBvhNodeData p = liftM BtQuantizedBvhNodeData $ newForeignPtr_ $ castPtr p {#pointer O_btQuantizedBvhTree as BtQuantizedBvhTree foreign newtype#} mkBtQuantizedBvhTree p = liftM BtQuantizedBvhTree $ newForeignPtr_ $ castPtr p {#pointer O_btRaycastVehicle as BtRaycastVehicle foreign newtype#} mkBtRaycastVehicle p = liftM BtRaycastVehicle $ newForeignPtr_ $ castPtr p {#pointer O_btRigidBody as BtRigidBody foreign newtype#} mkBtRigidBody p = liftM BtRigidBody $ newForeignPtr_ $ castPtr p {#pointer O_btRigidBody_btRigidBodyConstructionInfo as BtRigidBody_btRigidBodyConstructionInfo foreign newtype#} mkBtRigidBody_btRigidBodyConstructionInfo p = liftM BtRigidBody_btRigidBodyConstructionInfo $ newForeignPtr_ $ castPtr p {#pointer O_btRigidBodyDoubleData as BtRigidBodyDoubleData foreign newtype#} mkBtRigidBodyDoubleData p = liftM BtRigidBodyDoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btRigidBodyFloatData as BtRigidBodyFloatData foreign newtype#} mkBtRigidBodyFloatData p = liftM BtRigidBodyFloatData $ newForeignPtr_ $ castPtr p {#pointer O_btRotationalLimitMotor as BtRotationalLimitMotor foreign newtype#} mkBtRotationalLimitMotor p = liftM BtRotationalLimitMotor $ newForeignPtr_ $ castPtr p {#pointer O_btScaledBvhTriangleMeshShape as BtScaledBvhTriangleMeshShape foreign newtype#} mkBtScaledBvhTriangleMeshShape p = liftM BtScaledBvhTriangleMeshShape $ newForeignPtr_ $ castPtr p {#pointer O_btScaledTriangleMeshShapeData as BtScaledTriangleMeshShapeData foreign newtype#} mkBtScaledTriangleMeshShapeData p = liftM BtScaledTriangleMeshShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btSequentialImpulseConstraintSolver as BtSequentialImpulseConstraintSolver foreign newtype#} mkBtSequentialImpulseConstraintSolver p = liftM BtSequentialImpulseConstraintSolver $ newForeignPtr_ $ castPtr p {#pointer O_btSerializer as BtSerializer foreign newtype#} mkBtSerializer p = liftM BtSerializer $ newForeignPtr_ $ castPtr p {#pointer O_btShortIntIndexData as BtShortIntIndexData foreign newtype#} mkBtShortIntIndexData p = liftM BtShortIntIndexData $ newForeignPtr_ $ castPtr p {#pointer O_btShortIntIndexTripletData as BtShortIntIndexTripletData foreign newtype#} mkBtShortIntIndexTripletData p = liftM BtShortIntIndexTripletData $ newForeignPtr_ $ castPtr p {#pointer O_btSimpleBroadphase as BtSimpleBroadphase foreign newtype#} mkBtSimpleBroadphase p = liftM BtSimpleBroadphase $ newForeignPtr_ $ castPtr p {#pointer O_btSimpleBroadphaseProxy as BtSimpleBroadphaseProxy foreign newtype#} mkBtSimpleBroadphaseProxy p = liftM BtSimpleBroadphaseProxy $ newForeignPtr_ $ castPtr p {#pointer O_btSimpleDynamicsWorld as BtSimpleDynamicsWorld foreign newtype#} mkBtSimpleDynamicsWorld p = liftM BtSimpleDynamicsWorld $ newForeignPtr_ $ castPtr p {#pointer O_btSliderConstraint as BtSliderConstraint foreign newtype#} mkBtSliderConstraint p = liftM BtSliderConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btSliderConstraintData as BtSliderConstraintData foreign newtype#} mkBtSliderConstraintData p = liftM BtSliderConstraintData $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody as BtSoftBody foreign newtype#} mkBtSoftBody p = liftM BtSoftBody $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBodyHelpers as BtSoftBodyHelpers foreign newtype#} mkBtSoftBodyHelpers p = liftM BtSoftBodyHelpers $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBodyRigidBodyCollisionConfiguration as BtSoftBodyRigidBodyCollisionConfiguration foreign newtype#} mkBtSoftBodyRigidBodyCollisionConfiguration p = liftM BtSoftBodyRigidBodyCollisionConfiguration $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBodyWorldInfo as BtSoftBodyWorldInfo foreign newtype#} mkBtSoftBodyWorldInfo p = liftM BtSoftBodyWorldInfo $ newForeignPtr_ $ castPtr p {#pointer O_btSoftRigidDynamicsWorld as BtSoftRigidDynamicsWorld foreign newtype#} mkBtSoftRigidDynamicsWorld p = liftM BtSoftRigidDynamicsWorld $ newForeignPtr_ $ castPtr p {#pointer O_btSolverBodyObsolete as BtSolverBodyObsolete foreign newtype#} mkBtSolverBodyObsolete p = liftM BtSolverBodyObsolete $ newForeignPtr_ $ castPtr p {#pointer O_btSolverConstraint as BtSolverConstraint foreign newtype#} mkBtSolverConstraint p = liftM BtSolverConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btSortedOverlappingPairCache as BtSortedOverlappingPairCache foreign newtype#} mkBtSortedOverlappingPairCache p = liftM BtSortedOverlappingPairCache $ newForeignPtr_ $ castPtr p {#pointer O_btSphereShape as BtSphereShape foreign newtype#} mkBtSphereShape p = liftM BtSphereShape $ newForeignPtr_ $ castPtr p {#pointer O_btSphereSphereCollisionAlgorithm as BtSphereSphereCollisionAlgorithm foreign newtype#} mkBtSphereSphereCollisionAlgorithm p = liftM BtSphereSphereCollisionAlgorithm $ newForeignPtr_ $ castPtr p {#pointer O_btStackAlloc as BtStackAlloc foreign newtype#} mkBtStackAlloc p = liftM BtStackAlloc $ newForeignPtr_ $ castPtr p {#pointer O_btStaticPlaneShape as BtStaticPlaneShape foreign newtype#} mkBtStaticPlaneShape p = liftM BtStaticPlaneShape $ newForeignPtr_ $ castPtr p {#pointer O_btStaticPlaneShapeData as BtStaticPlaneShapeData foreign newtype#} mkBtStaticPlaneShapeData p = liftM BtStaticPlaneShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btStorageResult as BtStorageResult foreign newtype#} mkBtStorageResult p = liftM BtStorageResult $ newForeignPtr_ $ castPtr p {#pointer O_btStridingMeshInterface as BtStridingMeshInterface foreign newtype#} mkBtStridingMeshInterface p = liftM BtStridingMeshInterface $ newForeignPtr_ $ castPtr p {#pointer O_btStridingMeshInterfaceData as BtStridingMeshInterfaceData foreign newtype#} mkBtStridingMeshInterfaceData p = liftM BtStridingMeshInterfaceData $ newForeignPtr_ $ castPtr p {#pointer O_btSubSimplexClosestResult as BtSubSimplexClosestResult foreign newtype#} mkBtSubSimplexClosestResult p = liftM BtSubSimplexClosestResult $ newForeignPtr_ $ castPtr p {#pointer O_btTetrahedronShapeEx as BtTetrahedronShapeEx foreign newtype#} mkBtTetrahedronShapeEx p = liftM BtTetrahedronShapeEx $ newForeignPtr_ $ castPtr p {#pointer O_btTransformDoubleData as BtTransformDoubleData foreign newtype#} mkBtTransformDoubleData p = liftM BtTransformDoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btTransformFloatData as BtTransformFloatData foreign newtype#} mkBtTransformFloatData p = liftM BtTransformFloatData $ newForeignPtr_ $ castPtr p {#pointer O_btTransformUtil as BtTransformUtil foreign newtype#} mkBtTransformUtil p = liftM BtTransformUtil $ newForeignPtr_ $ castPtr p {#pointer O_btTranslationalLimitMotor as BtTranslationalLimitMotor foreign newtype#} mkBtTranslationalLimitMotor p = liftM BtTranslationalLimitMotor $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleCallback as BtTriangleCallback foreign newtype#} mkBtTriangleCallback p = liftM BtTriangleCallback $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleIndexVertexArray as BtTriangleIndexVertexArray foreign newtype#} mkBtTriangleIndexVertexArray p = liftM BtTriangleIndexVertexArray $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleInfo as BtTriangleInfo foreign newtype#} mkBtTriangleInfo p = liftM BtTriangleInfo $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleInfoData as BtTriangleInfoData foreign newtype#} mkBtTriangleInfoData p = liftM BtTriangleInfoData $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleInfoMap as BtTriangleInfoMap foreign newtype#} mkBtTriangleInfoMap p = liftM BtTriangleInfoMap $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleInfoMapData as BtTriangleInfoMapData foreign newtype#} mkBtTriangleInfoMapData p = liftM BtTriangleInfoMapData $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleMesh as BtTriangleMesh foreign newtype#} mkBtTriangleMesh p = liftM BtTriangleMesh $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleMeshShape as BtTriangleMeshShape foreign newtype#} mkBtTriangleMeshShape p = liftM BtTriangleMeshShape $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleMeshShapeData as BtTriangleMeshShapeData foreign newtype#} mkBtTriangleMeshShapeData p = liftM BtTriangleMeshShapeData $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleShape as BtTriangleShape foreign newtype#} mkBtTriangleShape p = liftM BtTriangleShape $ newForeignPtr_ $ castPtr p {#pointer O_btTriangleShapeEx as BtTriangleShapeEx foreign newtype#} mkBtTriangleShapeEx p = liftM BtTriangleShapeEx $ newForeignPtr_ $ castPtr p {#pointer O_btTypedConstraint as BtTypedConstraint foreign newtype#} mkBtTypedConstraint p = liftM BtTypedConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btTypedConstraintData as BtTypedConstraintData foreign newtype#} mkBtTypedConstraintData p = liftM BtTypedConstraintData $ newForeignPtr_ $ castPtr p {#pointer O_btTypedObject as BtTypedObject foreign newtype#} mkBtTypedObject p = liftM BtTypedObject $ newForeignPtr_ $ castPtr p {#pointer O_btUniformScalingShape as BtUniformScalingShape foreign newtype#} mkBtUniformScalingShape p = liftM BtUniformScalingShape $ newForeignPtr_ $ castPtr p {#pointer O_btUniversalConstraint as BtUniversalConstraint foreign newtype#} mkBtUniversalConstraint p = liftM BtUniversalConstraint $ newForeignPtr_ $ castPtr p {#pointer O_btUsageBitfield as BtUsageBitfield foreign newtype#} mkBtUsageBitfield p = liftM BtUsageBitfield $ newForeignPtr_ $ castPtr p {#pointer O_btVector3DoubleData as BtVector3DoubleData foreign newtype#} mkBtVector3DoubleData p = liftM BtVector3DoubleData $ newForeignPtr_ $ castPtr p {#pointer O_btVector3FloatData as BtVector3FloatData foreign newtype#} mkBtVector3FloatData p = liftM BtVector3FloatData $ newForeignPtr_ $ castPtr p {#pointer O_btVehicleRaycaster as BtVehicleRaycaster foreign newtype#} mkBtVehicleRaycaster p = liftM BtVehicleRaycaster $ newForeignPtr_ $ castPtr p {#pointer O_btVehicleRaycaster_btVehicleRaycasterResult as BtVehicleRaycaster_btVehicleRaycasterResult foreign newtype#} mkBtVehicleRaycaster_btVehicleRaycasterResult p = liftM BtVehicleRaycaster_btVehicleRaycasterResult $ newForeignPtr_ $ castPtr p {#pointer O_btRaycastVehicle_btVehicleTuning as BtRaycastVehicle_btVehicleTuning foreign newtype#} mkBtRaycastVehicle_btVehicleTuning p = liftM BtRaycastVehicle_btVehicleTuning $ newForeignPtr_ $ castPtr p {#pointer O_btVoronoiSimplexSolver as BtVoronoiSimplexSolver foreign newtype#} mkBtVoronoiSimplexSolver p = liftM BtVoronoiSimplexSolver $ newForeignPtr_ $ castPtr p {#pointer O_btWheelInfo as BtWheelInfo foreign newtype#} mkBtWheelInfo p = liftM BtWheelInfo $ newForeignPtr_ $ castPtr p {#pointer O_btWheelInfoConstructionInfo as BtWheelInfoConstructionInfo foreign newtype#} mkBtWheelInfoConstructionInfo p = liftM BtWheelInfoConstructionInfo $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_eAeroModel as BtSoftBody_eAeroModel foreign newtype#} mkBtSoftBody_eAeroModel p = liftM BtSoftBody_eAeroModel $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_eFeature as BtSoftBody_eFeature foreign newtype#} mkBtSoftBody_eFeature p = liftM BtSoftBody_eFeature $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_ePSolver as BtSoftBody_ePSolver foreign newtype#} mkBtSoftBody_ePSolver p = liftM BtSoftBody_ePSolver $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_eSolverPresets as BtSoftBody_eSolverPresets foreign newtype#} mkBtSoftBody_eSolverPresets p = liftM BtSoftBody_eSolverPresets $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_Joint_eType as BtSoftBody_Joint_eType foreign newtype#} mkBtSoftBody_Joint_eType p = liftM BtSoftBody_Joint_eType $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_eVSolver as BtSoftBody_eVSolver foreign newtype#} mkBtSoftBody_eVSolver p = liftM BtSoftBody_eVSolver $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_fCollision as BtSoftBody_fCollision foreign newtype#} mkBtSoftBody_fCollision p = liftM BtSoftBody_fCollision $ newForeignPtr_ $ castPtr p {#pointer O_fDrawFlags as FDrawFlags foreign newtype#} mkFDrawFlags p = liftM FDrawFlags $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_fMaterial as BtSoftBody_fMaterial foreign newtype#} mkBtSoftBody_fMaterial p = liftM BtSoftBody_fMaterial $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_sCti as BtSoftBody_sCti foreign newtype#} mkBtSoftBody_sCti p = liftM BtSoftBody_sCti $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_sMedium as BtSoftBody_sMedium foreign newtype#} mkBtSoftBody_sMedium p = liftM BtSoftBody_sMedium $ newForeignPtr_ $ castPtr p {#pointer O_btSoftBody_sRayCast as BtSoftBody_sRayCast foreign newtype#} mkBtSoftBody_sRayCast p = liftM BtSoftBody_sRayCast $ newForeignPtr_ $ castPtr p {#pointer O_btGjkEpaSolver2_sResults as BtGjkEpaSolver2_sResults foreign newtype#} mkBtGjkEpaSolver2_sResults p = liftM BtGjkEpaSolver2_sResults $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt_sStkCLN as BtDbvt_sStkCLN foreign newtype#} mkBtDbvt_sStkCLN p = liftM BtDbvt_sStkCLN $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt_sStkNN as BtDbvt_sStkNN foreign newtype#} mkBtDbvt_sStkNN p = liftM BtDbvt_sStkNN $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt_sStkNP as BtDbvt_sStkNP foreign newtype#} mkBtDbvt_sStkNP p = liftM BtDbvt_sStkNP $ newForeignPtr_ $ castPtr p {#pointer O_btDbvt_sStkNPS as BtDbvt_sStkNPS foreign newtype#} mkBtDbvt_sStkNPS p = liftM BtDbvt_sStkNPS $ newForeignPtr_ $ castPtr p -- * Class Hierarchy class BtClass p where withBt :: p -> (Ptr a -> IO b) -> IO b class BtClass p => BtSoftBody_AnchorClass p instance BtSoftBody_AnchorClass BtSoftBody_Anchor instance BtClass BtSoftBody_Anchor where withBt (BtSoftBody_Anchor p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BT_BOX_BOX_TRANSFORM_CACHEClass p instance BT_BOX_BOX_TRANSFORM_CACHEClass BT_BOX_BOX_TRANSFORM_CACHE instance BtClass BT_BOX_BOX_TRANSFORM_CACHE where withBt (BT_BOX_BOX_TRANSFORM_CACHE p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BT_QUANTIZED_BVH_NODEClass p instance BT_QUANTIZED_BVH_NODEClass BT_QUANTIZED_BVH_NODE instance BtClass BT_QUANTIZED_BVH_NODE where withBt (BT_QUANTIZED_BVH_NODE p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_BodyClass p instance BtSoftBody_BodyClass BtSoftBody_Body instance BtClass BtSoftBody_Body where withBt (BtSoftBody_Body p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => CProfileIteratorClass p instance CProfileIteratorClass CProfileIterator instance BtClass CProfileIterator where withBt (CProfileIterator p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => CProfileManagerClass p instance CProfileManagerClass CProfileManager instance BtClass CProfileManager where withBt (CProfileManager p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => CProfileNodeClass p instance CProfileNodeClass CProfileNode instance BtClass CProfileNode where withBt (CProfileNode p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => CProfileSampleClass p instance CProfileSampleClass CProfileSample instance BtClass CProfileSample where withBt (CProfileSample p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDiscreteCollisionDetectorInterface_ClosestPointInputClass p instance BtDiscreteCollisionDetectorInterface_ClosestPointInputClass BtDiscreteCollisionDetectorInterface_ClosestPointInput instance BtClass BtDiscreteCollisionDetectorInterface_ClosestPointInput where withBt (BtDiscreteCollisionDetectorInterface_ClosestPointInput p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_ClusterClass p instance BtSoftBody_ClusterClass BtSoftBody_Cluster instance BtClass BtSoftBody_Cluster where withBt (BtSoftBody_Cluster p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_ConfigClass p instance BtSoftBody_ConfigClass BtSoftBody_Config instance BtClass BtSoftBody_Config where withBt (BtSoftBody_Config p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionWorld_ContactResultCallbackClass p instance BtCollisionWorld_ContactResultCallbackClass BtCollisionWorld_ContactResultCallback instance BtClass BtCollisionWorld_ContactResultCallback where withBt (BtCollisionWorld_ContactResultCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionWorld_ConvexResultCallbackClass p instance BtCollisionWorld_ConvexResultCallbackClass BtCollisionWorld_ConvexResultCallback instance BtClass BtCollisionWorld_ConvexResultCallback where withBt (BtCollisionWorld_ConvexResultCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_ElementClass p instance BtSoftBody_ElementClass BtSoftBody_Element instance BtClass BtSoftBody_Element where withBt (BtSoftBody_Element p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_ElementClass p => BtSoftBody_FeatureClass p instance BtSoftBody_ElementClass BtSoftBody_Feature instance BtSoftBody_FeatureClass BtSoftBody_Feature instance BtClass BtSoftBody_Feature where withBt (BtSoftBody_Feature p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => GIM_BVH_DATAClass p instance GIM_BVH_DATAClass GIM_BVH_DATA instance BtClass GIM_BVH_DATA where withBt (GIM_BVH_DATA p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => GIM_BVH_DATA_ARRAYClass p instance GIM_BVH_DATA_ARRAYClass GIM_BVH_DATA_ARRAY instance BtClass GIM_BVH_DATA_ARRAY where withBt (GIM_BVH_DATA_ARRAY p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => GIM_BVH_TREE_NODEClass p instance GIM_BVH_TREE_NODEClass GIM_BVH_TREE_NODE instance BtClass GIM_BVH_TREE_NODE where withBt (GIM_BVH_TREE_NODE p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => GIM_BVH_TREE_NODE_ARRAYClass p instance GIM_BVH_TREE_NODE_ARRAYClass GIM_BVH_TREE_NODE_ARRAY instance BtClass GIM_BVH_TREE_NODE_ARRAY where withBt (GIM_BVH_TREE_NODE_ARRAY p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => GIM_PAIRClass p instance GIM_PAIRClass GIM_PAIR instance BtClass GIM_PAIR where withBt (GIM_PAIR p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => GIM_QUANTIZED_BVH_NODE_ARRAYClass p instance GIM_QUANTIZED_BVH_NODE_ARRAYClass GIM_QUANTIZED_BVH_NODE_ARRAY instance BtClass GIM_QUANTIZED_BVH_NODE_ARRAY where withBt (GIM_QUANTIZED_BVH_NODE_ARRAY p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => GIM_TRIANGLE_CONTACTClass p instance GIM_TRIANGLE_CONTACTClass GIM_TRIANGLE_CONTACT instance BtClass GIM_TRIANGLE_CONTACT where withBt (GIM_TRIANGLE_CONTACT p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvt_ICloneClass p instance BtDbvt_ICloneClass BtDbvt_IClone instance BtClass BtDbvt_IClone where withBt (BtDbvt_IClone p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvt_ICollideClass p instance BtDbvt_ICollideClass BtDbvt_ICollide instance BtClass BtDbvt_ICollide where withBt (BtDbvt_ICollide p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_AJoint_IControlClass p instance BtSoftBody_AJoint_IControlClass BtSoftBody_AJoint_IControl instance BtClass BtSoftBody_AJoint_IControl where withBt (BtSoftBody_AJoint_IControl p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvt_IWriterClass p instance BtDbvt_IWriterClass BtDbvt_IWriter instance BtClass BtDbvt_IWriter where withBt (BtDbvt_IWriter p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_ImplicitFnClass p instance BtSoftBody_ImplicitFnClass BtSoftBody_ImplicitFn instance BtClass BtSoftBody_ImplicitFn where withBt (BtSoftBody_ImplicitFn p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_ImpulseClass p instance BtSoftBody_ImpulseClass BtSoftBody_Impulse instance BtClass BtSoftBody_Impulse where withBt (BtSoftBody_Impulse p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_JointClass p instance BtSoftBody_JointClass BtSoftBody_Joint instance BtClass BtSoftBody_Joint where withBt (BtSoftBody_Joint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_JointClass p => BtSoftBody_LJointClass p instance BtSoftBody_JointClass BtSoftBody_LJoint instance BtSoftBody_LJointClass BtSoftBody_LJoint instance BtClass BtSoftBody_LJoint where withBt (BtSoftBody_LJoint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_FeatureClass p => BtSoftBody_LinkClass p instance BtSoftBody_FeatureClass BtSoftBody_Link instance BtSoftBody_ElementClass BtSoftBody_Link instance BtSoftBody_LinkClass BtSoftBody_Link instance BtClass BtSoftBody_Link where withBt (BtSoftBody_Link p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionWorld_LocalConvexResultClass p instance BtCollisionWorld_LocalConvexResultClass BtCollisionWorld_LocalConvexResult instance BtClass BtCollisionWorld_LocalConvexResult where withBt (BtCollisionWorld_LocalConvexResult p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionWorld_LocalRayResultClass p instance BtCollisionWorld_LocalRayResultClass BtCollisionWorld_LocalRayResult instance BtClass BtCollisionWorld_LocalRayResult where withBt (BtCollisionWorld_LocalRayResult p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionWorld_LocalShapeInfoClass p instance BtCollisionWorld_LocalShapeInfoClass BtCollisionWorld_LocalShapeInfo instance BtClass BtCollisionWorld_LocalShapeInfo where withBt (BtCollisionWorld_LocalShapeInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_ElementClass p => BtSoftBody_MaterialClass p instance BtSoftBody_ElementClass BtSoftBody_Material instance BtSoftBody_MaterialClass BtSoftBody_Material instance BtClass BtSoftBody_Material where withBt (BtSoftBody_Material p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_FeatureClass p => BtSoftBody_NodeClass p instance BtSoftBody_FeatureClass BtSoftBody_Node instance BtSoftBody_ElementClass BtSoftBody_Node instance BtSoftBody_NodeClass BtSoftBody_Node instance BtClass BtSoftBody_Node where withBt (BtSoftBody_Node p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_ElementClass p => BtSoftBody_NoteClass p instance BtSoftBody_ElementClass BtSoftBody_Note instance BtSoftBody_NoteClass BtSoftBody_Note instance BtClass BtSoftBody_Note where withBt (BtSoftBody_Note p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_PoseClass p instance BtSoftBody_PoseClass BtSoftBody_Pose instance BtClass BtSoftBody_Pose where withBt (BtSoftBody_Pose p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_RContactClass p instance BtSoftBody_RContactClass BtSoftBody_RContact instance BtClass BtSoftBody_RContact where withBt (BtSoftBody_RContact p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDbvt_ICollideClass p => BtSoftBody_RayFromToCasterClass p instance BtDbvt_ICollideClass BtSoftBody_RayFromToCaster instance BtSoftBody_RayFromToCasterClass BtSoftBody_RayFromToCaster instance BtClass BtSoftBody_RayFromToCaster where withBt (BtSoftBody_RayFromToCaster p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionWorld_RayResultCallbackClass p instance BtCollisionWorld_RayResultCallbackClass BtCollisionWorld_RayResultCallback instance BtClass BtCollisionWorld_RayResultCallback where withBt (BtCollisionWorld_RayResultCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtWheelInfo_RaycastInfoClass p instance BtWheelInfo_RaycastInfoClass BtWheelInfo_RaycastInfo instance BtClass BtWheelInfo_RaycastInfo where withBt (BtWheelInfo_RaycastInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDiscreteCollisionDetectorInterface_ResultClass p instance BtDiscreteCollisionDetectorInterface_ResultClass BtDiscreteCollisionDetectorInterface_Result instance BtClass BtDiscreteCollisionDetectorInterface_Result where withBt (BtDiscreteCollisionDetectorInterface_Result p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_SContactClass p instance BtSoftBody_SContactClass BtSoftBody_SContact instance BtClass BtSoftBody_SContact where withBt (BtSoftBody_SContact p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_SolverStateClass p instance BtSoftBody_SolverStateClass BtSoftBody_SolverState instance BtClass BtSoftBody_SolverState where withBt (BtSoftBody_SolverState p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_Joint_SpecsClass p instance BtSoftBody_Joint_SpecsClass BtSoftBody_Joint_Specs instance BtClass BtSoftBody_Joint_Specs where withBt (BtSoftBody_Joint_Specs p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_Joint_SpecsClass p => BtSoftBody_LJoint_SpecsClass p instance BtSoftBody_Joint_SpecsClass BtSoftBody_LJoint_Specs instance BtSoftBody_LJoint_SpecsClass BtSoftBody_LJoint_Specs instance BtClass BtSoftBody_LJoint_Specs where withBt (BtSoftBody_LJoint_Specs p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_Joint_SpecsClass p => BtSoftBody_AJoint_SpecsClass p instance BtSoftBody_Joint_SpecsClass BtSoftBody_AJoint_Specs instance BtSoftBody_AJoint_SpecsClass BtSoftBody_AJoint_Specs instance BtClass BtSoftBody_AJoint_Specs where withBt (BtSoftBody_AJoint_Specs p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_FeatureClass p => BtSoftBody_TetraClass p instance BtSoftBody_FeatureClass BtSoftBody_Tetra instance BtSoftBody_ElementClass BtSoftBody_Tetra instance BtSoftBody_TetraClass BtSoftBody_Tetra instance BtClass BtSoftBody_Tetra where withBt (BtSoftBody_Tetra p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtAABBClass p instance BtAABBClass BtAABB instance BtClass BtAABB where withBt (BtAABB p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtActionInterfaceClass p instance BtActionInterfaceClass BtActionInterface instance BtClass BtActionInterface where withBt (BtActionInterface p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtAngularLimitClass p instance BtAngularLimitClass BtAngularLimit instance BtClass BtAngularLimit where withBt (BtAngularLimit p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBlockClass p instance BtBlockClass BtBlock instance BtClass BtBlock where withBt (BtBlock p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBroadphaseAabbCallbackClass p instance BtBroadphaseAabbCallbackClass BtBroadphaseAabbCallback instance BtClass BtBroadphaseAabbCallback where withBt (BtBroadphaseAabbCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBroadphaseInterfaceClass p instance BtBroadphaseInterfaceClass BtBroadphaseInterface instance BtClass BtBroadphaseInterface where withBt (BtBroadphaseInterface p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBroadphasePairClass p instance BtBroadphasePairClass BtBroadphasePair instance BtClass BtBroadphasePair where withBt (BtBroadphasePair p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBroadphasePairSortPredicateClass p instance BtBroadphasePairSortPredicateClass BtBroadphasePairSortPredicate instance BtClass BtBroadphasePairSortPredicate where withBt (BtBroadphasePairSortPredicate p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBroadphaseProxyClass p instance BtBroadphaseProxyClass BtBroadphaseProxy instance BtClass BtBroadphaseProxy where withBt (BtBroadphaseProxy p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBroadphaseAabbCallbackClass p => BtBroadphaseRayCallbackClass p instance BtBroadphaseAabbCallbackClass BtBroadphaseRayCallback instance BtBroadphaseRayCallbackClass BtBroadphaseRayCallback instance BtClass BtBroadphaseRayCallback where withBt (BtBroadphaseRayCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBvhSubtreeInfoClass p instance BtBvhSubtreeInfoClass BtBvhSubtreeInfo instance BtClass BtBvhSubtreeInfo where withBt (BtBvhSubtreeInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBvhSubtreeInfoDataClass p instance BtBvhSubtreeInfoDataClass BtBvhSubtreeInfoData instance BtClass BtBvhSubtreeInfoData where withBt (BtBvhSubtreeInfoData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtBvhTreeClass p instance BtBvhTreeClass BtBvhTree instance BtClass BtBvhTree where withBt (BtBvhTree p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCapsuleShapeDataClass p instance BtCapsuleShapeDataClass BtCapsuleShapeData instance BtClass BtCapsuleShapeData where withBt (BtCapsuleShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCharIndexTripletDataClass p instance BtCharIndexTripletDataClass BtCharIndexTripletData instance BtClass BtCharIndexTripletData where withBt (BtCharIndexTripletData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtChunkClass p instance BtChunkClass BtChunk instance BtClass BtChunk where withBt (BtChunk p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtClockClass p instance BtClockClass BtClock instance BtClass BtClock where withBt (BtClock p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionAlgorithmClass p instance BtCollisionAlgorithmClass BtCollisionAlgorithm instance BtClass BtCollisionAlgorithm where withBt (BtCollisionAlgorithm p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionAlgorithmConstructionInfoClass p instance BtCollisionAlgorithmConstructionInfoClass BtCollisionAlgorithmConstructionInfo instance BtClass BtCollisionAlgorithmConstructionInfo where withBt (BtCollisionAlgorithmConstructionInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionAlgorithmCreateFuncClass p instance BtCollisionAlgorithmCreateFuncClass BtCollisionAlgorithmCreateFunc instance BtClass BtCollisionAlgorithmCreateFunc where withBt (BtCollisionAlgorithmCreateFunc p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionConfigurationClass p instance BtCollisionConfigurationClass BtCollisionConfiguration instance BtClass BtCollisionConfiguration where withBt (BtCollisionConfiguration p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionObjectClass p instance BtCollisionObjectClass BtCollisionObject instance BtClass BtCollisionObject where withBt (BtCollisionObject p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionObjectDoubleDataClass p instance BtCollisionObjectDoubleDataClass BtCollisionObjectDoubleData instance BtClass BtCollisionObjectDoubleData where withBt (BtCollisionObjectDoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionObjectFloatDataClass p instance BtCollisionObjectFloatDataClass BtCollisionObjectFloatData instance BtClass BtCollisionObjectFloatData where withBt (BtCollisionObjectFloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionShapeClass p instance BtCollisionShapeClass BtCollisionShape instance BtClass BtCollisionShape where withBt (BtCollisionShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionShapeDataClass p instance BtCollisionShapeDataClass BtCollisionShapeData instance BtClass BtCollisionShapeData where withBt (BtCollisionShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCollisionWorldClass p instance BtCollisionWorldClass BtCollisionWorld instance BtClass BtCollisionWorld where withBt (BtCollisionWorld p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionShapeClass p => BtCompoundShapeClass p instance BtCollisionShapeClass BtCompoundShape instance BtCompoundShapeClass BtCompoundShape instance BtClass BtCompoundShape where withBt (BtCompoundShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCompoundShapeChildClass p instance BtCompoundShapeChildClass BtCompoundShapeChild instance BtClass BtCompoundShapeChild where withBt (BtCompoundShapeChild p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCompoundShapeChildDataClass p instance BtCompoundShapeChildDataClass BtCompoundShapeChildData instance BtClass BtCompoundShapeChildData where withBt (BtCompoundShapeChildData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCompoundShapeDataClass p instance BtCompoundShapeDataClass BtCompoundShapeData instance BtClass BtCompoundShapeData where withBt (BtCompoundShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionShapeClass p => BtConcaveShapeClass p instance BtCollisionShapeClass BtConcaveShape instance BtConcaveShapeClass BtConcaveShape instance BtClass BtConcaveShape where withBt (BtConcaveShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtConeTwistConstraintDataClass p instance BtConeTwistConstraintDataClass BtConeTwistConstraintData instance BtClass BtConeTwistConstraintData where withBt (BtConeTwistConstraintData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTypedConstraint_btConstraintInfo1Class p instance BtTypedConstraint_btConstraintInfo1Class BtTypedConstraint_btConstraintInfo1 instance BtClass BtTypedConstraint_btConstraintInfo1 where withBt (BtTypedConstraint_btConstraintInfo1 p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTypedConstraint_btConstraintInfo2Class p instance BtTypedConstraint_btConstraintInfo2Class BtTypedConstraint_btConstraintInfo2 instance BtClass BtTypedConstraint_btConstraintInfo2 where withBt (BtTypedConstraint_btConstraintInfo2 p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtConstraintRowClass p instance BtConstraintRowClass BtConstraintRow instance BtClass BtConstraintRow where withBt (BtConstraintRow p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtConstraintSettingClass p instance BtConstraintSettingClass BtConstraintSetting instance BtClass BtConstraintSetting where withBt (BtConstraintSetting p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtConstraintSolverClass p instance BtConstraintSolverClass BtConstraintSolver instance BtClass BtConstraintSolver where withBt (BtConstraintSolver p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtContactSolverInfoDataClass p instance BtContactSolverInfoDataClass BtContactSolverInfoData instance BtClass BtContactSolverInfoData where withBt (BtContactSolverInfoData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtConvexHullShapeDataClass p instance BtConvexHullShapeDataClass BtConvexHullShapeData instance BtClass BtConvexHullShapeData where withBt (BtConvexHullShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtConvexInternalShapeDataClass p instance BtConvexInternalShapeDataClass BtConvexInternalShapeData instance BtClass BtConvexInternalShapeData where withBt (BtConvexInternalShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtConvexSeparatingDistanceUtilClass p instance BtConvexSeparatingDistanceUtilClass BtConvexSeparatingDistanceUtil instance BtClass BtConvexSeparatingDistanceUtil where withBt (BtConvexSeparatingDistanceUtil p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionShapeClass p => BtConvexShapeClass p instance BtCollisionShapeClass BtConvexShape instance BtConvexShapeClass BtConvexShape instance BtClass BtConvexShape where withBt (BtConvexShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtCylinderShapeDataClass p instance BtCylinderShapeDataClass BtCylinderShapeData instance BtClass BtCylinderShapeData where withBt (BtCylinderShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvtClass p instance BtDbvtClass BtDbvt instance BtClass BtDbvt where withBt (BtDbvt p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvtAabbMmClass p instance BtDbvtAabbMmClass BtDbvtAabbMm instance BtClass BtDbvtAabbMm where withBt (BtDbvtAabbMm p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBroadphaseInterfaceClass p => BtDbvtBroadphaseClass p instance BtBroadphaseInterfaceClass BtDbvtBroadphase instance BtDbvtBroadphaseClass BtDbvtBroadphase instance BtClass BtDbvtBroadphase where withBt (BtDbvtBroadphase p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvtNodeClass p instance BtDbvtNodeClass BtDbvtNode instance BtClass BtDbvtNode where withBt (BtDbvtNode p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBroadphaseProxyClass p => BtDbvtProxyClass p instance BtBroadphaseProxyClass BtDbvtProxy instance BtDbvtProxyClass BtDbvtProxy instance BtClass BtDbvtProxy where withBt (BtDbvtProxy p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionConfigurationClass p => BtDefaultCollisionConfigurationClass p instance BtCollisionConfigurationClass BtDefaultCollisionConfiguration instance BtDefaultCollisionConfigurationClass BtDefaultCollisionConfiguration instance BtClass BtDefaultCollisionConfiguration where withBt (BtDefaultCollisionConfiguration p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDefaultCollisionConstructionInfoClass p instance BtDefaultCollisionConstructionInfoClass BtDefaultCollisionConstructionInfo instance BtClass BtDefaultCollisionConstructionInfo where withBt (BtDefaultCollisionConstructionInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDiscreteCollisionDetectorInterfaceClass p instance BtDiscreteCollisionDetectorInterfaceClass BtDiscreteCollisionDetectorInterface instance BtClass BtDiscreteCollisionDetectorInterface where withBt (BtDiscreteCollisionDetectorInterface p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDispatcherClass p instance BtDispatcherClass BtDispatcher instance BtClass BtDispatcher where withBt (BtDispatcher p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDispatcherInfoClass p instance BtDispatcherInfoClass BtDispatcherInfo instance BtClass BtDispatcherInfo where withBt (BtDispatcherInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionWorldClass p => BtDynamicsWorldClass p instance BtCollisionWorldClass BtDynamicsWorld instance BtDynamicsWorldClass BtDynamicsWorld instance BtClass BtDynamicsWorld where withBt (BtDynamicsWorld p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConcaveShapeClass p => BtEmptyShapeClass p instance BtConcaveShapeClass BtEmptyShape instance BtCollisionShapeClass BtEmptyShape instance BtEmptyShapeClass BtEmptyShape instance BtClass BtEmptyShape where withBt (BtEmptyShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGImpactBvhClass p instance BtGImpactBvhClass BtGImpactBvh instance BtClass BtGImpactBvh where withBt (BtGImpactBvh p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGImpactMeshShapeDataClass p instance BtGImpactMeshShapeDataClass BtGImpactMeshShapeData instance BtClass BtGImpactMeshShapeData where withBt (BtGImpactMeshShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGImpactQuantizedBvhClass p instance BtGImpactQuantizedBvhClass BtGImpactQuantizedBvh instance BtClass BtGImpactQuantizedBvh where withBt (BtGImpactQuantizedBvh p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConcaveShapeClass p => BtGImpactShapeInterfaceClass p instance BtConcaveShapeClass BtGImpactShapeInterface instance BtCollisionShapeClass BtGImpactShapeInterface instance BtGImpactShapeInterfaceClass BtGImpactShapeInterface instance BtClass BtGImpactShapeInterface where withBt (BtGImpactShapeInterface p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGeneric6DofConstraintDataClass p instance BtGeneric6DofConstraintDataClass BtGeneric6DofConstraintData instance BtClass BtGeneric6DofConstraintData where withBt (BtGeneric6DofConstraintData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGeneric6DofSpringConstraintDataClass p instance BtGeneric6DofSpringConstraintDataClass BtGeneric6DofSpringConstraintData instance BtClass BtGeneric6DofSpringConstraintData where withBt (BtGeneric6DofSpringConstraintData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGeometryUtilClass p instance BtGeometryUtilClass BtGeometryUtil instance BtClass BtGeometryUtil where withBt (BtGeometryUtil p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGjkEpaSolver2Class p instance BtGjkEpaSolver2Class BtGjkEpaSolver2 instance BtClass BtGjkEpaSolver2 where withBt (BtGjkEpaSolver2 p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDiscreteCollisionDetectorInterfaceClass p => BtGjkPairDetectorClass p instance BtDiscreteCollisionDetectorInterfaceClass BtGjkPairDetector instance BtGjkPairDetectorClass BtGjkPairDetector instance BtClass BtGjkPairDetector where withBt (BtGjkPairDetector p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtHashIntClass p instance BtHashIntClass BtHashInt instance BtClass BtHashInt where withBt (BtHashInt p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtHashPtrClass p instance BtHashPtrClass BtHashPtr instance BtClass BtHashPtr where withBt (BtHashPtr p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtHashStringClass p instance BtHashStringClass BtHashString instance BtClass BtHashString where withBt (BtHashString p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtHingeConstraintDoubleDataClass p instance BtHingeConstraintDoubleDataClass BtHingeConstraintDoubleData instance BtClass BtHingeConstraintDoubleData where withBt (BtHingeConstraintDoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtHingeConstraintFloatDataClass p instance BtHingeConstraintFloatDataClass BtHingeConstraintFloatData instance BtClass BtHingeConstraintFloatData where withBt (BtHingeConstraintFloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtIDebugDrawClass p instance BtIDebugDrawClass BtIDebugDraw instance BtClass BtIDebugDraw where withBt (BtIDebugDraw p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtIndexedMeshClass p instance BtIndexedMeshClass BtIndexedMesh instance BtClass BtIndexedMesh where withBt (BtIndexedMesh p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtIntIndexDataClass p instance BtIntIndexDataClass BtIntIndexData instance BtClass BtIntIndexData where withBt (BtIntIndexData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtInternalTriangleIndexCallbackClass p instance BtInternalTriangleIndexCallbackClass BtInternalTriangleIndexCallback instance BtClass BtInternalTriangleIndexCallback where withBt (BtInternalTriangleIndexCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtJacobianEntryClass p instance BtJacobianEntryClass BtJacobianEntry instance BtClass BtJacobianEntry where withBt (BtJacobianEntry p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtManifoldPointClass p instance BtManifoldPointClass BtManifoldPoint instance BtClass BtManifoldPoint where withBt (BtManifoldPoint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDiscreteCollisionDetectorInterface_ResultClass p => BtManifoldResultClass p instance BtDiscreteCollisionDetectorInterface_ResultClass BtManifoldResult instance BtManifoldResultClass BtManifoldResult instance BtClass BtManifoldResult where withBt (BtManifoldResult p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtMatrix3x3DoubleDataClass p instance BtMatrix3x3DoubleDataClass BtMatrix3x3DoubleData instance BtClass BtMatrix3x3DoubleData where withBt (BtMatrix3x3DoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtMatrix3x3FloatDataClass p instance BtMatrix3x3FloatDataClass BtMatrix3x3FloatData instance BtClass BtMatrix3x3FloatData where withBt (BtMatrix3x3FloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtMeshPartDataClass p instance BtMeshPartDataClass BtMeshPartData instance BtClass BtMeshPartData where withBt (BtMeshPartData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtMotionStateClass p instance BtMotionStateClass BtMotionState instance BtClass BtMotionState where withBt (BtMotionState p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBroadphaseInterfaceClass p => BtMultiSapBroadphaseClass p instance BtBroadphaseInterfaceClass BtMultiSapBroadphase instance BtMultiSapBroadphaseClass BtMultiSapBroadphase instance BtClass BtMultiSapBroadphase where withBt (BtMultiSapBroadphase p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBroadphaseProxyClass p => BtMultiSapBroadphase_btMultiSapProxyClass p instance BtBroadphaseProxyClass BtMultiSapBroadphase_btMultiSapProxy instance BtMultiSapBroadphase_btMultiSapProxyClass BtMultiSapBroadphase_btMultiSapProxy instance BtClass BtMultiSapBroadphase_btMultiSapProxy where withBt (BtMultiSapBroadphase_btMultiSapProxy p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtMultiSphereShapeDataClass p instance BtMultiSphereShapeDataClass BtMultiSphereShapeData instance BtClass BtMultiSphereShapeData where withBt (BtMultiSphereShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtNodeOverlapCallbackClass p instance BtNodeOverlapCallbackClass BtNodeOverlapCallback instance BtClass BtNodeOverlapCallback where withBt (BtNodeOverlapCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtOptimizedBvhNodeClass p instance BtOptimizedBvhNodeClass BtOptimizedBvhNode instance BtClass BtOptimizedBvhNode where withBt (BtOptimizedBvhNode p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtOptimizedBvhNodeDoubleDataClass p instance BtOptimizedBvhNodeDoubleDataClass BtOptimizedBvhNodeDoubleData instance BtClass BtOptimizedBvhNodeDoubleData where withBt (BtOptimizedBvhNodeDoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtOptimizedBvhNodeFloatDataClass p instance BtOptimizedBvhNodeFloatDataClass BtOptimizedBvhNodeFloatData instance BtClass BtOptimizedBvhNodeFloatData where withBt (BtOptimizedBvhNodeFloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtOverlapCallbackClass p instance BtOverlapCallbackClass BtOverlapCallback instance BtClass BtOverlapCallback where withBt (BtOverlapCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtOverlapFilterCallbackClass p instance BtOverlapFilterCallbackClass BtOverlapFilterCallback instance BtClass BtOverlapFilterCallback where withBt (BtOverlapFilterCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtOverlappingPairCallbackClass p instance BtOverlappingPairCallbackClass BtOverlappingPairCallback instance BtClass BtOverlappingPairCallback where withBt (BtOverlappingPairCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtPairSetClass p instance BtPairSetClass BtPairSet instance BtClass BtPairSet where withBt (BtPairSet p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtPoint2PointConstraintDoubleDataClass p instance BtPoint2PointConstraintDoubleDataClass BtPoint2PointConstraintDoubleData instance BtClass BtPoint2PointConstraintDoubleData where withBt (BtPoint2PointConstraintDoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtPoint2PointConstraintFloatDataClass p instance BtPoint2PointConstraintFloatDataClass BtPoint2PointConstraintFloatData instance BtClass BtPoint2PointConstraintFloatData where withBt (BtPoint2PointConstraintFloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtPointerUidClass p instance BtPointerUidClass BtPointerUid instance BtClass BtPointerUid where withBt (BtPointerUid p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtPositionAndRadiusClass p instance BtPositionAndRadiusClass BtPositionAndRadius instance BtClass BtPositionAndRadius where withBt (BtPositionAndRadius p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtPrimitiveManagerBaseClass p instance BtPrimitiveManagerBaseClass BtPrimitiveManagerBase instance BtClass BtPrimitiveManagerBase where withBt (BtPrimitiveManagerBase p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtPrimitiveTriangleClass p instance BtPrimitiveTriangleClass BtPrimitiveTriangle instance BtClass BtPrimitiveTriangle where withBt (BtPrimitiveTriangle p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtQuadWordClass p instance BtQuadWordClass BtQuadWord instance BtClass BtQuadWord where withBt (BtQuadWord p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtQuantizedBvhClass p instance BtQuantizedBvhClass BtQuantizedBvh instance BtClass BtQuantizedBvh where withBt (BtQuantizedBvh p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtQuantizedBvhDoubleDataClass p instance BtQuantizedBvhDoubleDataClass BtQuantizedBvhDoubleData instance BtClass BtQuantizedBvhDoubleData where withBt (BtQuantizedBvhDoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtQuantizedBvhFloatDataClass p instance BtQuantizedBvhFloatDataClass BtQuantizedBvhFloatData instance BtClass BtQuantizedBvhFloatData where withBt (BtQuantizedBvhFloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtQuantizedBvhNodeClass p instance BtQuantizedBvhNodeClass BtQuantizedBvhNode instance BtClass BtQuantizedBvhNode where withBt (BtQuantizedBvhNode p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtQuantizedBvhNodeDataClass p instance BtQuantizedBvhNodeDataClass BtQuantizedBvhNodeData instance BtClass BtQuantizedBvhNodeData where withBt (BtQuantizedBvhNodeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtQuantizedBvhTreeClass p instance BtQuantizedBvhTreeClass BtQuantizedBvhTree instance BtClass BtQuantizedBvhTree where withBt (BtQuantizedBvhTree p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtActionInterfaceClass p => BtRaycastVehicleClass p instance BtActionInterfaceClass BtRaycastVehicle instance BtRaycastVehicleClass BtRaycastVehicle instance BtClass BtRaycastVehicle where withBt (BtRaycastVehicle p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionObjectClass p => BtRigidBodyClass p instance BtCollisionObjectClass BtRigidBody instance BtRigidBodyClass BtRigidBody instance BtClass BtRigidBody where withBt (BtRigidBody p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtRigidBody_btRigidBodyConstructionInfoClass p instance BtRigidBody_btRigidBodyConstructionInfoClass BtRigidBody_btRigidBodyConstructionInfo instance BtClass BtRigidBody_btRigidBodyConstructionInfo where withBt (BtRigidBody_btRigidBodyConstructionInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtRigidBodyDoubleDataClass p instance BtRigidBodyDoubleDataClass BtRigidBodyDoubleData instance BtClass BtRigidBodyDoubleData where withBt (BtRigidBodyDoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtRigidBodyFloatDataClass p instance BtRigidBodyFloatDataClass BtRigidBodyFloatData instance BtClass BtRigidBodyFloatData where withBt (BtRigidBodyFloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtRotationalLimitMotorClass p instance BtRotationalLimitMotorClass BtRotationalLimitMotor instance BtClass BtRotationalLimitMotor where withBt (BtRotationalLimitMotor p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConcaveShapeClass p => BtScaledBvhTriangleMeshShapeClass p instance BtConcaveShapeClass BtScaledBvhTriangleMeshShape instance BtCollisionShapeClass BtScaledBvhTriangleMeshShape instance BtScaledBvhTriangleMeshShapeClass BtScaledBvhTriangleMeshShape instance BtClass BtScaledBvhTriangleMeshShape where withBt (BtScaledBvhTriangleMeshShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtScaledTriangleMeshShapeDataClass p instance BtScaledTriangleMeshShapeDataClass BtScaledTriangleMeshShapeData instance BtClass BtScaledTriangleMeshShapeData where withBt (BtScaledTriangleMeshShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConstraintSolverClass p => BtSequentialImpulseConstraintSolverClass p instance BtConstraintSolverClass BtSequentialImpulseConstraintSolver instance BtSequentialImpulseConstraintSolverClass BtSequentialImpulseConstraintSolver instance BtClass BtSequentialImpulseConstraintSolver where withBt (BtSequentialImpulseConstraintSolver p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSerializerClass p instance BtSerializerClass BtSerializer instance BtClass BtSerializer where withBt (BtSerializer p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtShortIntIndexDataClass p instance BtShortIntIndexDataClass BtShortIntIndexData instance BtClass BtShortIntIndexData where withBt (BtShortIntIndexData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtShortIntIndexTripletDataClass p instance BtShortIntIndexTripletDataClass BtShortIntIndexTripletData instance BtClass BtShortIntIndexTripletData where withBt (BtShortIntIndexTripletData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBroadphaseInterfaceClass p => BtSimpleBroadphaseClass p instance BtBroadphaseInterfaceClass BtSimpleBroadphase instance BtSimpleBroadphaseClass BtSimpleBroadphase instance BtClass BtSimpleBroadphase where withBt (BtSimpleBroadphase p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBroadphaseProxyClass p => BtSimpleBroadphaseProxyClass p instance BtBroadphaseProxyClass BtSimpleBroadphaseProxy instance BtSimpleBroadphaseProxyClass BtSimpleBroadphaseProxy instance BtClass BtSimpleBroadphaseProxy where withBt (BtSimpleBroadphaseProxy p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDynamicsWorldClass p => BtSimpleDynamicsWorldClass p instance BtDynamicsWorldClass BtSimpleDynamicsWorld instance BtCollisionWorldClass BtSimpleDynamicsWorld instance BtSimpleDynamicsWorldClass BtSimpleDynamicsWorld instance BtClass BtSimpleDynamicsWorld where withBt (BtSimpleDynamicsWorld p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSliderConstraintDataClass p instance BtSliderConstraintDataClass BtSliderConstraintData instance BtClass BtSliderConstraintData where withBt (BtSliderConstraintData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionObjectClass p => BtSoftBodyClass p instance BtCollisionObjectClass BtSoftBody instance BtSoftBodyClass BtSoftBody instance BtClass BtSoftBody where withBt (BtSoftBody p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBodyHelpersClass p instance BtSoftBodyHelpersClass BtSoftBodyHelpers instance BtClass BtSoftBodyHelpers where withBt (BtSoftBodyHelpers p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDefaultCollisionConfigurationClass p => BtSoftBodyRigidBodyCollisionConfigurationClass p instance BtDefaultCollisionConfigurationClass BtSoftBodyRigidBodyCollisionConfiguration instance BtCollisionConfigurationClass BtSoftBodyRigidBodyCollisionConfiguration instance BtSoftBodyRigidBodyCollisionConfigurationClass BtSoftBodyRigidBodyCollisionConfiguration instance BtClass BtSoftBodyRigidBodyCollisionConfiguration where withBt (BtSoftBodyRigidBodyCollisionConfiguration p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBodyWorldInfoClass p instance BtSoftBodyWorldInfoClass BtSoftBodyWorldInfo instance BtClass BtSoftBodyWorldInfo where withBt (BtSoftBodyWorldInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSolverBodyObsoleteClass p instance BtSolverBodyObsoleteClass BtSolverBodyObsolete instance BtClass BtSolverBodyObsolete where withBt (BtSolverBodyObsolete p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSolverConstraintClass p instance BtSolverConstraintClass BtSolverConstraint instance BtClass BtSolverConstraint where withBt (BtSolverConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtStackAllocClass p instance BtStackAllocClass BtStackAlloc instance BtClass BtStackAlloc where withBt (BtStackAlloc p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConcaveShapeClass p => BtStaticPlaneShapeClass p instance BtConcaveShapeClass BtStaticPlaneShape instance BtCollisionShapeClass BtStaticPlaneShape instance BtStaticPlaneShapeClass BtStaticPlaneShape instance BtClass BtStaticPlaneShape where withBt (BtStaticPlaneShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtStaticPlaneShapeDataClass p instance BtStaticPlaneShapeDataClass BtStaticPlaneShapeData instance BtClass BtStaticPlaneShapeData where withBt (BtStaticPlaneShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDiscreteCollisionDetectorInterface_ResultClass p => BtStorageResultClass p instance BtDiscreteCollisionDetectorInterface_ResultClass BtStorageResult instance BtStorageResultClass BtStorageResult instance BtClass BtStorageResult where withBt (BtStorageResult p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtStridingMeshInterfaceClass p instance BtStridingMeshInterfaceClass BtStridingMeshInterface instance BtClass BtStridingMeshInterface where withBt (BtStridingMeshInterface p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtStridingMeshInterfaceDataClass p instance BtStridingMeshInterfaceDataClass BtStridingMeshInterfaceData instance BtClass BtStridingMeshInterfaceData where withBt (BtStridingMeshInterfaceData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSubSimplexClosestResultClass p instance BtSubSimplexClosestResultClass BtSubSimplexClosestResult instance BtClass BtSubSimplexClosestResult where withBt (BtSubSimplexClosestResult p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTransformDoubleDataClass p instance BtTransformDoubleDataClass BtTransformDoubleData instance BtClass BtTransformDoubleData where withBt (BtTransformDoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTransformFloatDataClass p instance BtTransformFloatDataClass BtTransformFloatData instance BtClass BtTransformFloatData where withBt (BtTransformFloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTransformUtilClass p instance BtTransformUtilClass BtTransformUtil instance BtClass BtTransformUtil where withBt (BtTransformUtil p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTranslationalLimitMotorClass p instance BtTranslationalLimitMotorClass BtTranslationalLimitMotor instance BtClass BtTranslationalLimitMotor where withBt (BtTranslationalLimitMotor p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTriangleCallbackClass p instance BtTriangleCallbackClass BtTriangleCallback instance BtClass BtTriangleCallback where withBt (BtTriangleCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtStridingMeshInterfaceClass p => BtTriangleIndexVertexArrayClass p instance BtStridingMeshInterfaceClass BtTriangleIndexVertexArray instance BtTriangleIndexVertexArrayClass BtTriangleIndexVertexArray instance BtClass BtTriangleIndexVertexArray where withBt (BtTriangleIndexVertexArray p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTriangleInfoClass p instance BtTriangleInfoClass BtTriangleInfo instance BtClass BtTriangleInfo where withBt (BtTriangleInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTriangleInfoDataClass p instance BtTriangleInfoDataClass BtTriangleInfoData instance BtClass BtTriangleInfoData where withBt (BtTriangleInfoData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTriangleInfoMapClass p instance BtTriangleInfoMapClass BtTriangleInfoMap instance BtClass BtTriangleInfoMap where withBt (BtTriangleInfoMap p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTriangleInfoMapDataClass p instance BtTriangleInfoMapDataClass BtTriangleInfoMapData instance BtClass BtTriangleInfoMapData where withBt (BtTriangleInfoMapData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTriangleIndexVertexArrayClass p => BtTriangleMeshClass p instance BtTriangleIndexVertexArrayClass BtTriangleMesh instance BtStridingMeshInterfaceClass BtTriangleMesh instance BtTriangleMeshClass BtTriangleMesh instance BtClass BtTriangleMesh where withBt (BtTriangleMesh p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConcaveShapeClass p => BtTriangleMeshShapeClass p instance BtConcaveShapeClass BtTriangleMeshShape instance BtCollisionShapeClass BtTriangleMeshShape instance BtTriangleMeshShapeClass BtTriangleMeshShape instance BtClass BtTriangleMeshShape where withBt (BtTriangleMeshShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTriangleMeshShapeDataClass p instance BtTriangleMeshShapeDataClass BtTriangleMeshShapeData instance BtClass BtTriangleMeshShapeData where withBt (BtTriangleMeshShapeData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTypedConstraintDataClass p instance BtTypedConstraintDataClass BtTypedConstraintData instance BtClass BtTypedConstraintData where withBt (BtTypedConstraintData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtTypedObjectClass p instance BtTypedObjectClass BtTypedObject instance BtClass BtTypedObject where withBt (BtTypedObject p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexShapeClass p => BtUniformScalingShapeClass p instance BtConvexShapeClass BtUniformScalingShape instance BtCollisionShapeClass BtUniformScalingShape instance BtUniformScalingShapeClass BtUniformScalingShape instance BtClass BtUniformScalingShape where withBt (BtUniformScalingShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtUsageBitfieldClass p instance BtUsageBitfieldClass BtUsageBitfield instance BtClass BtUsageBitfield where withBt (BtUsageBitfield p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtVector3DoubleDataClass p instance BtVector3DoubleDataClass BtVector3DoubleData instance BtClass BtVector3DoubleData where withBt (BtVector3DoubleData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtVector3FloatDataClass p instance BtVector3FloatDataClass BtVector3FloatData instance BtClass BtVector3FloatData where withBt (BtVector3FloatData p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtVehicleRaycasterClass p instance BtVehicleRaycasterClass BtVehicleRaycaster instance BtClass BtVehicleRaycaster where withBt (BtVehicleRaycaster p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtVehicleRaycaster_btVehicleRaycasterResultClass p instance BtVehicleRaycaster_btVehicleRaycasterResultClass BtVehicleRaycaster_btVehicleRaycasterResult instance BtClass BtVehicleRaycaster_btVehicleRaycasterResult where withBt (BtVehicleRaycaster_btVehicleRaycasterResult p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtRaycastVehicle_btVehicleTuningClass p instance BtRaycastVehicle_btVehicleTuningClass BtRaycastVehicle_btVehicleTuning instance BtClass BtRaycastVehicle_btVehicleTuning where withBt (BtRaycastVehicle_btVehicleTuning p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtVoronoiSimplexSolverClass p instance BtVoronoiSimplexSolverClass BtVoronoiSimplexSolver instance BtClass BtVoronoiSimplexSolver where withBt (BtVoronoiSimplexSolver p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtWheelInfoClass p instance BtWheelInfoClass BtWheelInfo instance BtClass BtWheelInfo where withBt (BtWheelInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtWheelInfoConstructionInfoClass p instance BtWheelInfoConstructionInfoClass BtWheelInfoConstructionInfo instance BtClass BtWheelInfoConstructionInfo where withBt (BtWheelInfoConstructionInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_eAeroModelClass p instance BtSoftBody_eAeroModelClass BtSoftBody_eAeroModel instance BtClass BtSoftBody_eAeroModel where withBt (BtSoftBody_eAeroModel p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_eFeatureClass p instance BtSoftBody_eFeatureClass BtSoftBody_eFeature instance BtClass BtSoftBody_eFeature where withBt (BtSoftBody_eFeature p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_ePSolverClass p instance BtSoftBody_ePSolverClass BtSoftBody_ePSolver instance BtClass BtSoftBody_ePSolver where withBt (BtSoftBody_ePSolver p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_eSolverPresetsClass p instance BtSoftBody_eSolverPresetsClass BtSoftBody_eSolverPresets instance BtClass BtSoftBody_eSolverPresets where withBt (BtSoftBody_eSolverPresets p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_Joint_eTypeClass p instance BtSoftBody_Joint_eTypeClass BtSoftBody_Joint_eType instance BtClass BtSoftBody_Joint_eType where withBt (BtSoftBody_Joint_eType p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_eVSolverClass p instance BtSoftBody_eVSolverClass BtSoftBody_eVSolver instance BtClass BtSoftBody_eVSolver where withBt (BtSoftBody_eVSolver p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_fCollisionClass p instance BtSoftBody_fCollisionClass BtSoftBody_fCollision instance BtClass BtSoftBody_fCollision where withBt (BtSoftBody_fCollision p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => FDrawFlagsClass p instance FDrawFlagsClass FDrawFlags instance BtClass FDrawFlags where withBt (FDrawFlags p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_fMaterialClass p instance BtSoftBody_fMaterialClass BtSoftBody_fMaterial instance BtClass BtSoftBody_fMaterial where withBt (BtSoftBody_fMaterial p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_sCtiClass p instance BtSoftBody_sCtiClass BtSoftBody_sCti instance BtClass BtSoftBody_sCti where withBt (BtSoftBody_sCti p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_sMediumClass p instance BtSoftBody_sMediumClass BtSoftBody_sMedium instance BtClass BtSoftBody_sMedium where withBt (BtSoftBody_sMedium p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtSoftBody_sRayCastClass p instance BtSoftBody_sRayCastClass BtSoftBody_sRayCast instance BtClass BtSoftBody_sRayCast where withBt (BtSoftBody_sRayCast p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtGjkEpaSolver2_sResultsClass p instance BtGjkEpaSolver2_sResultsClass BtGjkEpaSolver2_sResults instance BtClass BtGjkEpaSolver2_sResults where withBt (BtGjkEpaSolver2_sResults p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvt_sStkCLNClass p instance BtDbvt_sStkCLNClass BtDbvt_sStkCLN instance BtClass BtDbvt_sStkCLN where withBt (BtDbvt_sStkCLN p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvt_sStkNNClass p instance BtDbvt_sStkNNClass BtDbvt_sStkNN instance BtClass BtDbvt_sStkNN where withBt (BtDbvt_sStkNN p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvt_sStkNPClass p instance BtDbvt_sStkNPClass BtDbvt_sStkNP instance BtClass BtDbvt_sStkNP where withBt (BtDbvt_sStkNP p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtDbvt_sStkNPSClass p instance BtDbvt_sStkNPSClass BtDbvt_sStkNPS instance BtClass BtDbvt_sStkNPS where withBt (BtDbvt_sStkNPS p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_JointClass p => BtSoftBody_AJointClass p instance BtSoftBody_JointClass BtSoftBody_AJoint instance BtSoftBody_AJointClass BtSoftBody_AJoint instance BtClass BtSoftBody_AJoint where withBt (BtSoftBody_AJoint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionWorld_RayResultCallbackClass p => BtCollisionWorld_AllHitsRayResultCallbackClass p instance BtCollisionWorld_RayResultCallbackClass BtCollisionWorld_AllHitsRayResultCallback instance BtCollisionWorld_AllHitsRayResultCallbackClass BtCollisionWorld_AllHitsRayResultCallback instance BtClass BtCollisionWorld_AllHitsRayResultCallback where withBt (BtCollisionWorld_AllHitsRayResultCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_JointClass p => BtSoftBody_CJointClass p instance BtSoftBody_JointClass BtSoftBody_CJoint instance BtSoftBody_CJointClass BtSoftBody_CJoint instance BtClass BtSoftBody_CJoint where withBt (BtSoftBody_CJoint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionWorld_ConvexResultCallbackClass p => BtCollisionWorld_ClosestConvexResultCallbackClass p instance BtCollisionWorld_ConvexResultCallbackClass BtCollisionWorld_ClosestConvexResultCallback instance BtCollisionWorld_ClosestConvexResultCallbackClass BtCollisionWorld_ClosestConvexResultCallback instance BtClass BtCollisionWorld_ClosestConvexResultCallback where withBt (BtCollisionWorld_ClosestConvexResultCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionWorld_RayResultCallbackClass p => BtCollisionWorld_ClosestRayResultCallbackClass p instance BtCollisionWorld_RayResultCallbackClass BtCollisionWorld_ClosestRayResultCallback instance BtCollisionWorld_ClosestRayResultCallbackClass BtCollisionWorld_ClosestRayResultCallback instance BtClass BtCollisionWorld_ClosestRayResultCallback where withBt (BtCollisionWorld_ClosestRayResultCallback p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPrimitiveManagerBaseClass p => BtGImpactCompoundShape_CompoundPrimitiveManagerClass p instance BtPrimitiveManagerBaseClass BtGImpactCompoundShape_CompoundPrimitiveManager instance BtGImpactCompoundShape_CompoundPrimitiveManagerClass BtGImpactCompoundShape_CompoundPrimitiveManager instance BtClass BtGImpactCompoundShape_CompoundPrimitiveManager where withBt (BtGImpactCompoundShape_CompoundPrimitiveManager p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionAlgorithmCreateFuncClass p => BtGImpactCollisionAlgorithm_CreateFuncClass p instance BtCollisionAlgorithmCreateFuncClass BtGImpactCollisionAlgorithm_CreateFunc instance BtGImpactCollisionAlgorithm_CreateFuncClass BtGImpactCollisionAlgorithm_CreateFunc instance BtClass BtGImpactCollisionAlgorithm_CreateFunc where withBt (BtGImpactCollisionAlgorithm_CreateFunc p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionAlgorithmCreateFuncClass p => BtSphereSphereCollisionAlgorithm_CreateFuncClass p instance BtCollisionAlgorithmCreateFuncClass BtSphereSphereCollisionAlgorithm_CreateFunc instance BtSphereSphereCollisionAlgorithm_CreateFuncClass BtSphereSphereCollisionAlgorithm_CreateFunc instance BtClass BtSphereSphereCollisionAlgorithm_CreateFunc where withBt (BtSphereSphereCollisionAlgorithm_CreateFunc p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionAlgorithmCreateFuncClass p => BtConvexConvexAlgorithm_CreateFuncClass p instance BtCollisionAlgorithmCreateFuncClass BtConvexConvexAlgorithm_CreateFunc instance BtConvexConvexAlgorithm_CreateFuncClass BtConvexConvexAlgorithm_CreateFunc instance BtClass BtConvexConvexAlgorithm_CreateFunc where withBt (BtConvexConvexAlgorithm_CreateFunc p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSoftBody_FeatureClass p => BtSoftBody_FaceClass p instance BtSoftBody_FeatureClass BtSoftBody_Face instance BtSoftBody_ElementClass BtSoftBody_Face instance BtSoftBody_FaceClass BtSoftBody_Face instance BtClass BtSoftBody_Face where withBt (BtSoftBody_Face p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPrimitiveManagerBaseClass p => BtGImpactMeshShapePart_TrimeshPrimitiveManagerClass p instance BtPrimitiveManagerBaseClass BtGImpactMeshShapePart_TrimeshPrimitiveManager instance BtGImpactMeshShapePart_TrimeshPrimitiveManagerClass BtGImpactMeshShapePart_TrimeshPrimitiveManager instance BtClass BtGImpactMeshShapePart_TrimeshPrimitiveManager where withBt (BtGImpactMeshShapePart_TrimeshPrimitiveManager p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => Bt32BitAxisSweep3Class p instance Bt32BitAxisSweep3Class Bt32BitAxisSweep3 instance BtClass Bt32BitAxisSweep3 where withBt (Bt32BitAxisSweep3 p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCollisionAlgorithmClass p => BtActivatingCollisionAlgorithmClass p instance BtCollisionAlgorithmClass BtActivatingCollisionAlgorithm instance BtActivatingCollisionAlgorithmClass BtActivatingCollisionAlgorithm instance BtClass BtActivatingCollisionAlgorithm where withBt (BtActivatingCollisionAlgorithm p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtClass p => BtAxisSweep3Class p instance BtAxisSweep3Class BtAxisSweep3 instance BtClass BtAxisSweep3 where withBt (BtAxisSweep3 p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTriangleMeshShapeClass p => BtBvhTriangleMeshShapeClass p instance BtTriangleMeshShapeClass BtBvhTriangleMeshShape instance BtConcaveShapeClass BtBvhTriangleMeshShape instance BtCollisionShapeClass BtBvhTriangleMeshShape instance BtBvhTriangleMeshShapeClass BtBvhTriangleMeshShape instance BtClass BtBvhTriangleMeshShape where withBt (BtBvhTriangleMeshShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDispatcherClass p => BtCollisionDispatcherClass p instance BtDispatcherClass BtCollisionDispatcher instance BtCollisionDispatcherClass BtCollisionDispatcher instance BtClass BtCollisionDispatcher where withBt (BtCollisionDispatcher p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtContactSolverInfoDataClass p => BtContactSolverInfoClass p instance BtContactSolverInfoDataClass BtContactSolverInfo instance BtContactSolverInfoClass BtContactSolverInfo instance BtClass BtContactSolverInfo where withBt (BtContactSolverInfo p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtActivatingCollisionAlgorithmClass p => BtConvexConvexAlgorithmClass p instance BtActivatingCollisionAlgorithmClass BtConvexConvexAlgorithm instance BtCollisionAlgorithmClass BtConvexConvexAlgorithm instance BtConvexConvexAlgorithmClass BtConvexConvexAlgorithm instance BtClass BtConvexConvexAlgorithm where withBt (BtConvexConvexAlgorithm p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexShapeClass p => BtConvexInternalShapeClass p instance BtConvexShapeClass BtConvexInternalShape instance BtCollisionShapeClass BtConvexInternalShape instance BtConvexInternalShapeClass BtConvexInternalShape instance BtClass BtConvexInternalShape where withBt (BtConvexInternalShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexInternalShapeClass p => BtCylinderShapeClass p instance BtConvexInternalShapeClass BtCylinderShape instance BtConvexShapeClass BtCylinderShape instance BtCollisionShapeClass BtCylinderShape instance BtCylinderShapeClass BtCylinderShape instance BtClass BtCylinderShape where withBt (BtCylinderShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCylinderShapeClass p => BtCylinderShapeXClass p instance BtCylinderShapeClass BtCylinderShapeX instance BtConvexInternalShapeClass BtCylinderShapeX instance BtConvexShapeClass BtCylinderShapeX instance BtCollisionShapeClass BtCylinderShapeX instance BtCylinderShapeXClass BtCylinderShapeX instance BtClass BtCylinderShapeX where withBt (BtCylinderShapeX p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCylinderShapeClass p => BtCylinderShapeZClass p instance BtCylinderShapeClass BtCylinderShapeZ instance BtConvexInternalShapeClass BtCylinderShapeZ instance BtConvexShapeClass BtCylinderShapeZ instance BtCollisionShapeClass BtCylinderShapeZ instance BtCylinderShapeZClass BtCylinderShapeZ instance BtClass BtCylinderShapeZ where withBt (BtCylinderShapeZ p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtMotionStateClass p => BtDefaultMotionStateClass p instance BtMotionStateClass BtDefaultMotionState instance BtDefaultMotionStateClass BtDefaultMotionState instance BtClass BtDefaultMotionState where withBt (BtDefaultMotionState p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtSerializerClass p => BtDefaultSerializerClass p instance BtSerializerClass BtDefaultSerializer instance BtDefaultSerializerClass BtDefaultSerializer instance BtClass BtDefaultSerializer where withBt (BtDefaultSerializer p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtVehicleRaycasterClass p => BtDefaultVehicleRaycasterClass p instance BtVehicleRaycasterClass BtDefaultVehicleRaycaster instance BtDefaultVehicleRaycasterClass BtDefaultVehicleRaycaster instance BtClass BtDefaultVehicleRaycaster where withBt (BtDefaultVehicleRaycaster p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDynamicsWorldClass p => BtDiscreteDynamicsWorldClass p instance BtDynamicsWorldClass BtDiscreteDynamicsWorld instance BtCollisionWorldClass BtDiscreteDynamicsWorld instance BtDiscreteDynamicsWorldClass BtDiscreteDynamicsWorld instance BtClass BtDiscreteDynamicsWorld where withBt (BtDiscreteDynamicsWorld p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtActivatingCollisionAlgorithmClass p => BtGImpactCollisionAlgorithmClass p instance BtActivatingCollisionAlgorithmClass BtGImpactCollisionAlgorithm instance BtCollisionAlgorithmClass BtGImpactCollisionAlgorithm instance BtGImpactCollisionAlgorithmClass BtGImpactCollisionAlgorithm instance BtClass BtGImpactCollisionAlgorithm where withBt (BtGImpactCollisionAlgorithm p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtGImpactShapeInterfaceClass p => BtGImpactCompoundShapeClass p instance BtGImpactShapeInterfaceClass BtGImpactCompoundShape instance BtConcaveShapeClass BtGImpactCompoundShape instance BtCollisionShapeClass BtGImpactCompoundShape instance BtGImpactCompoundShapeClass BtGImpactCompoundShape instance BtClass BtGImpactCompoundShape where withBt (BtGImpactCompoundShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtGImpactShapeInterfaceClass p => BtGImpactMeshShapeClass p instance BtGImpactShapeInterfaceClass BtGImpactMeshShape instance BtConcaveShapeClass BtGImpactMeshShape instance BtCollisionShapeClass BtGImpactMeshShape instance BtGImpactMeshShapeClass BtGImpactMeshShape instance BtClass BtGImpactMeshShape where withBt (BtGImpactMeshShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtGImpactShapeInterfaceClass p => BtGImpactMeshShapePartClass p instance BtGImpactShapeInterfaceClass BtGImpactMeshShapePart instance BtConcaveShapeClass BtGImpactMeshShapePart instance BtCollisionShapeClass BtGImpactMeshShapePart instance BtGImpactMeshShapePartClass BtGImpactMeshShapePart instance BtClass BtGImpactMeshShapePart where withBt (BtGImpactMeshShapePart p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtIDebugDrawClass p => BtGLDebugDrawerClass p instance BtIDebugDrawClass BtGLDebugDrawer instance BtGLDebugDrawerClass BtGLDebugDrawer instance BtClass BtGLDebugDrawer where withBt (BtGLDebugDrawer p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtQuantizedBvhClass p => BtOptimizedBvhClass p instance BtQuantizedBvhClass BtOptimizedBvh instance BtOptimizedBvhClass BtOptimizedBvh instance BtClass BtOptimizedBvh where withBt (BtOptimizedBvh p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtOverlappingPairCallbackClass p => BtOverlappingPairCacheClass p instance BtOverlappingPairCallbackClass BtOverlappingPairCache instance BtOverlappingPairCacheClass BtOverlappingPairCache instance BtClass BtOverlappingPairCache where withBt (BtOverlappingPairCache p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedObjectClass p => BtPersistentManifoldClass p instance BtTypedObjectClass BtPersistentManifold instance BtPersistentManifoldClass BtPersistentManifold instance BtClass BtPersistentManifold where withBt (BtPersistentManifold p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexInternalShapeClass p => BtPolyhedralConvexShapeClass p instance BtConvexInternalShapeClass BtPolyhedralConvexShape instance BtConvexShapeClass BtPolyhedralConvexShape instance BtCollisionShapeClass BtPolyhedralConvexShape instance BtPolyhedralConvexShapeClass BtPolyhedralConvexShape instance BtClass BtPolyhedralConvexShape where withBt (BtPolyhedralConvexShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDiscreteDynamicsWorldClass p => BtSoftRigidDynamicsWorldClass p instance BtDiscreteDynamicsWorldClass BtSoftRigidDynamicsWorld instance BtDynamicsWorldClass BtSoftRigidDynamicsWorld instance BtCollisionWorldClass BtSoftRigidDynamicsWorld instance BtSoftRigidDynamicsWorldClass BtSoftRigidDynamicsWorld instance BtClass BtSoftRigidDynamicsWorld where withBt (BtSoftRigidDynamicsWorld p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtOverlappingPairCacheClass p => BtSortedOverlappingPairCacheClass p instance BtOverlappingPairCacheClass BtSortedOverlappingPairCache instance BtOverlappingPairCallbackClass BtSortedOverlappingPairCache instance BtSortedOverlappingPairCacheClass BtSortedOverlappingPairCache instance BtClass BtSortedOverlappingPairCache where withBt (BtSortedOverlappingPairCache p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexInternalShapeClass p => BtSphereShapeClass p instance BtConvexInternalShapeClass BtSphereShape instance BtConvexShapeClass BtSphereShape instance BtCollisionShapeClass BtSphereShape instance BtSphereShapeClass BtSphereShape instance BtClass BtSphereShape where withBt (BtSphereShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtActivatingCollisionAlgorithmClass p => BtSphereSphereCollisionAlgorithmClass p instance BtActivatingCollisionAlgorithmClass BtSphereSphereCollisionAlgorithm instance BtCollisionAlgorithmClass BtSphereSphereCollisionAlgorithm instance BtSphereSphereCollisionAlgorithmClass BtSphereSphereCollisionAlgorithm instance BtClass BtSphereSphereCollisionAlgorithm where withBt (BtSphereSphereCollisionAlgorithm p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPolyhedralConvexShapeClass p => BtTriangleShapeClass p instance BtPolyhedralConvexShapeClass BtTriangleShape instance BtConvexInternalShapeClass BtTriangleShape instance BtConvexShapeClass BtTriangleShape instance BtCollisionShapeClass BtTriangleShape instance BtTriangleShapeClass BtTriangleShape instance BtClass BtTriangleShape where withBt (BtTriangleShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTriangleShapeClass p => BtTriangleShapeExClass p instance BtTriangleShapeClass BtTriangleShapeEx instance BtPolyhedralConvexShapeClass BtTriangleShapeEx instance BtConvexInternalShapeClass BtTriangleShapeEx instance BtConvexShapeClass BtTriangleShapeEx instance BtCollisionShapeClass BtTriangleShapeEx instance BtTriangleShapeExClass BtTriangleShapeEx instance BtClass BtTriangleShapeEx where withBt (BtTriangleShapeEx p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedObjectClass p => BtTypedConstraintClass p instance BtTypedObjectClass BtTypedConstraint instance BtTypedConstraintClass BtTypedConstraint instance BtClass BtTypedConstraint where withBt (BtTypedConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPolyhedralConvexShapeClass p => BtBoxShapeClass p instance BtPolyhedralConvexShapeClass BtBoxShape instance BtConvexInternalShapeClass BtBoxShape instance BtConvexShapeClass BtBoxShape instance BtCollisionShapeClass BtBoxShape instance BtBoxShapeClass BtBoxShape instance BtClass BtBoxShape where withBt (BtBoxShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexInternalShapeClass p => BtCapsuleShapeClass p instance BtConvexInternalShapeClass BtCapsuleShape instance BtConvexShapeClass BtCapsuleShape instance BtCollisionShapeClass BtCapsuleShape instance BtCapsuleShapeClass BtCapsuleShape instance BtClass BtCapsuleShape where withBt (BtCapsuleShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCapsuleShapeClass p => BtCapsuleShapeXClass p instance BtCapsuleShapeClass BtCapsuleShapeX instance BtConvexInternalShapeClass BtCapsuleShapeX instance BtConvexShapeClass BtCapsuleShapeX instance BtCollisionShapeClass BtCapsuleShapeX instance BtCapsuleShapeXClass BtCapsuleShapeX instance BtClass BtCapsuleShapeX where withBt (BtCapsuleShapeX p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtCapsuleShapeClass p => BtCapsuleShapeZClass p instance BtCapsuleShapeClass BtCapsuleShapeZ instance BtConvexInternalShapeClass BtCapsuleShapeZ instance BtConvexShapeClass BtCapsuleShapeZ instance BtCollisionShapeClass BtCapsuleShapeZ instance BtCapsuleShapeZClass BtCapsuleShapeZ instance BtClass BtCapsuleShapeZ where withBt (BtCapsuleShapeZ p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexInternalShapeClass p => BtConeShapeClass p instance BtConvexInternalShapeClass BtConeShape instance BtConvexShapeClass BtConeShape instance BtCollisionShapeClass BtConeShape instance BtConeShapeClass BtConeShape instance BtClass BtConeShape where withBt (BtConeShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConeShapeClass p => BtConeShapeXClass p instance BtConeShapeClass BtConeShapeX instance BtConvexInternalShapeClass BtConeShapeX instance BtConvexShapeClass BtConeShapeX instance BtCollisionShapeClass BtConeShapeX instance BtConeShapeXClass BtConeShapeX instance BtClass BtConeShapeX where withBt (BtConeShapeX p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConeShapeClass p => BtConeShapeZClass p instance BtConeShapeClass BtConeShapeZ instance BtConvexInternalShapeClass BtConeShapeZ instance BtConvexShapeClass BtConeShapeZ instance BtCollisionShapeClass BtConeShapeZ instance BtConeShapeZClass BtConeShapeZ instance BtClass BtConeShapeZ where withBt (BtConeShapeZ p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedConstraintClass p => BtConeTwistConstraintClass p instance BtTypedConstraintClass BtConeTwistConstraint instance BtTypedObjectClass BtConeTwistConstraint instance BtConeTwistConstraintClass BtConeTwistConstraint instance BtClass BtConeTwistConstraint where withBt (BtConeTwistConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedConstraintClass p => BtContactConstraintClass p instance BtTypedConstraintClass BtContactConstraint instance BtTypedObjectClass BtContactConstraint instance BtContactConstraintClass BtContactConstraint instance BtClass BtContactConstraint where withBt (BtContactConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtDiscreteDynamicsWorldClass p => BtContinuousDynamicsWorldClass p instance BtDiscreteDynamicsWorldClass BtContinuousDynamicsWorld instance BtDynamicsWorldClass BtContinuousDynamicsWorld instance BtCollisionWorldClass BtContinuousDynamicsWorld instance BtContinuousDynamicsWorldClass BtContinuousDynamicsWorld instance BtClass BtContinuousDynamicsWorld where withBt (BtContinuousDynamicsWorld p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexInternalShapeClass p => BtConvexInternalAabbCachingShapeClass p instance BtConvexInternalShapeClass BtConvexInternalAabbCachingShape instance BtConvexShapeClass BtConvexInternalAabbCachingShape instance BtCollisionShapeClass BtConvexInternalAabbCachingShape instance BtConvexInternalAabbCachingShapeClass BtConvexInternalAabbCachingShape instance BtClass BtConvexInternalAabbCachingShape where withBt (BtConvexInternalAabbCachingShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedConstraintClass p => BtGeneric6DofConstraintClass p instance BtTypedConstraintClass BtGeneric6DofConstraint instance BtTypedObjectClass BtGeneric6DofConstraint instance BtGeneric6DofConstraintClass BtGeneric6DofConstraint instance BtClass BtGeneric6DofConstraint where withBt (BtGeneric6DofConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtGeneric6DofConstraintClass p => BtGeneric6DofSpringConstraintClass p instance BtGeneric6DofConstraintClass BtGeneric6DofSpringConstraint instance BtTypedConstraintClass BtGeneric6DofSpringConstraint instance BtTypedObjectClass BtGeneric6DofSpringConstraint instance BtGeneric6DofSpringConstraintClass BtGeneric6DofSpringConstraint instance BtClass BtGeneric6DofSpringConstraint where withBt (BtGeneric6DofSpringConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtOverlappingPairCacheClass p => BtHashedOverlappingPairCacheClass p instance BtOverlappingPairCacheClass BtHashedOverlappingPairCache instance BtOverlappingPairCallbackClass BtHashedOverlappingPairCache instance BtHashedOverlappingPairCacheClass BtHashedOverlappingPairCache instance BtClass BtHashedOverlappingPairCache where withBt (BtHashedOverlappingPairCache p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtGeneric6DofSpringConstraintClass p => BtHinge2ConstraintClass p instance BtGeneric6DofSpringConstraintClass BtHinge2Constraint instance BtGeneric6DofConstraintClass BtHinge2Constraint instance BtTypedConstraintClass BtHinge2Constraint instance BtTypedObjectClass BtHinge2Constraint instance BtHinge2ConstraintClass BtHinge2Constraint instance BtClass BtHinge2Constraint where withBt (BtHinge2Constraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedConstraintClass p => BtHingeConstraintClass p instance BtTypedConstraintClass BtHingeConstraint instance BtTypedObjectClass BtHingeConstraint instance BtHingeConstraintClass BtHingeConstraint instance BtClass BtHingeConstraint where withBt (BtHingeConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtConvexInternalAabbCachingShapeClass p => BtMultiSphereShapeClass p instance BtConvexInternalAabbCachingShapeClass BtMultiSphereShape instance BtConvexInternalShapeClass BtMultiSphereShape instance BtConvexShapeClass BtMultiSphereShape instance BtCollisionShapeClass BtMultiSphereShape instance BtMultiSphereShapeClass BtMultiSphereShape instance BtClass BtMultiSphereShape where withBt (BtMultiSphereShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtOverlappingPairCacheClass p => BtNullPairCacheClass p instance BtOverlappingPairCacheClass BtNullPairCache instance BtOverlappingPairCallbackClass BtNullPairCache instance BtNullPairCacheClass BtNullPairCache instance BtClass BtNullPairCache where withBt (BtNullPairCache p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedConstraintClass p => BtPoint2PointConstraintClass p instance BtTypedConstraintClass BtPoint2PointConstraint instance BtTypedObjectClass BtPoint2PointConstraint instance BtPoint2PointConstraintClass BtPoint2PointConstraint instance BtClass BtPoint2PointConstraint where withBt (BtPoint2PointConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPolyhedralConvexShapeClass p => BtPolyhedralConvexAabbCachingShapeClass p instance BtPolyhedralConvexShapeClass BtPolyhedralConvexAabbCachingShape instance BtConvexInternalShapeClass BtPolyhedralConvexAabbCachingShape instance BtConvexShapeClass BtPolyhedralConvexAabbCachingShape instance BtCollisionShapeClass BtPolyhedralConvexAabbCachingShape instance BtPolyhedralConvexAabbCachingShapeClass BtPolyhedralConvexAabbCachingShape instance BtClass BtPolyhedralConvexAabbCachingShape where withBt (BtPolyhedralConvexAabbCachingShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtTypedConstraintClass p => BtSliderConstraintClass p instance BtTypedConstraintClass BtSliderConstraint instance BtTypedObjectClass BtSliderConstraint instance BtSliderConstraintClass BtSliderConstraint instance BtClass BtSliderConstraint where withBt (BtSliderConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtGeneric6DofConstraintClass p => BtUniversalConstraintClass p instance BtGeneric6DofConstraintClass BtUniversalConstraint instance BtTypedConstraintClass BtUniversalConstraint instance BtTypedObjectClass BtUniversalConstraint instance BtUniversalConstraintClass BtUniversalConstraint instance BtClass BtUniversalConstraint where withBt (BtUniversalConstraint p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPolyhedralConvexAabbCachingShapeClass p => BtBU_Simplex1to4Class p instance BtPolyhedralConvexAabbCachingShapeClass BtBU_Simplex1to4 instance BtPolyhedralConvexShapeClass BtBU_Simplex1to4 instance BtConvexInternalShapeClass BtBU_Simplex1to4 instance BtConvexShapeClass BtBU_Simplex1to4 instance BtCollisionShapeClass BtBU_Simplex1to4 instance BtBU_Simplex1to4Class BtBU_Simplex1to4 instance BtClass BtBU_Simplex1to4 where withBt (BtBU_Simplex1to4 p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPolyhedralConvexAabbCachingShapeClass p => BtConvexHullShapeClass p instance BtPolyhedralConvexAabbCachingShapeClass BtConvexHullShape instance BtPolyhedralConvexShapeClass BtConvexHullShape instance BtConvexInternalShapeClass BtConvexHullShape instance BtConvexShapeClass BtConvexHullShape instance BtCollisionShapeClass BtConvexHullShape instance BtConvexHullShapeClass BtConvexHullShape instance BtClass BtConvexHullShape where withBt (BtConvexHullShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtPolyhedralConvexAabbCachingShapeClass p => BtConvexTriangleMeshShapeClass p instance BtPolyhedralConvexAabbCachingShapeClass BtConvexTriangleMeshShape instance BtPolyhedralConvexShapeClass BtConvexTriangleMeshShape instance BtConvexInternalShapeClass BtConvexTriangleMeshShape instance BtConvexShapeClass BtConvexTriangleMeshShape instance BtCollisionShapeClass BtConvexTriangleMeshShape instance BtConvexTriangleMeshShapeClass BtConvexTriangleMeshShape instance BtClass BtConvexTriangleMeshShape where withBt (BtConvexTriangleMeshShape p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b class BtBU_Simplex1to4Class p => BtTetrahedronShapeExClass p instance BtBU_Simplex1to4Class BtTetrahedronShapeEx instance BtPolyhedralConvexAabbCachingShapeClass BtTetrahedronShapeEx instance BtPolyhedralConvexShapeClass BtTetrahedronShapeEx instance BtConvexInternalShapeClass BtTetrahedronShapeEx instance BtConvexShapeClass BtTetrahedronShapeEx instance BtCollisionShapeClass BtTetrahedronShapeEx instance BtTetrahedronShapeExClass BtTetrahedronShapeEx instance BtClass BtTetrahedronShapeEx where withBt (BtTetrahedronShapeEx p) b = (withForeignPtr p (\a -> return $ castPtr a)) >>= b