-- GENERATED by C->Haskell Compiler, version 0.28.6 Switcheroo, 25 November 2017 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}
{-#LANGUAGE ForeignFunctionInterface#-}

module Physics.Bullet.Raw.BulletDynamics.Dynamics (
module Physics.Bullet.Raw.BulletDynamics.Dynamics
) where
import qualified Foreign.C.String as C2HSImp
import qualified Foreign.C.Types as C2HSImp
import qualified Foreign.Marshal.Utils as C2HSImp
import qualified Foreign.Ptr as C2HSImp


import Control.Monad
import Foreign.Marshal.Alloc
import Foreign.ForeignPtr.Unsafe
import Foreign.Ptr
import Physics.Bullet.Raw.C2HS
import Physics.Bullet.Raw.Types
import Physics.Bullet.Raw.Class
-- * btActionInterface
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btActionInterface.h?r=2223#30>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btActionInterface.cpp?r=2223>
-}
btActionInterface_getFixedBody :: ( ) => IO ((BtRigidBody))
btActionInterface_getFixedBody =
  btActionInterface_getFixedBody'_ >>= \res ->
  mkBtRigidBody res >>= \res' ->
  return (res')

{-# LINE 17 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btActionInterface.h?r=2223#39>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btActionInterface.cpp?r=2223>
-}
btActionInterface_updateAction :: ( BtActionInterfaceClass bc , BtCollisionWorldClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ collisionWorld
 -> (Float) -- ^ deltaTimeStep
 -> IO ()
btActionInterface_updateAction a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  let {a3' = realToFrac a3} in 
  btActionInterface_updateAction'_ a1' a2' a3' >>
  return ()

{-# LINE 24 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btActionInterface.h?r=2223#41>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btActionInterface.cpp?r=2223>
-}
btActionInterface_debugDraw :: ( BtActionInterfaceClass bc , BtIDebugDrawClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ debugDrawer
 -> IO ()
btActionInterface_debugDraw a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btActionInterface_debugDraw'_ a1' a2' >>
  return ()

{-# LINE 30 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

-- * btDiscreteDynamicsWorld
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#86>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld :: ( BtDispatcherClass p0 , BtBroadphaseInterfaceClass p1 , BtConstraintSolverClass p2 , BtCollisionConfigurationClass p3 ) => (p0) -> (p1) -> (p2) -> (p3) -> IO ((BtDiscreteDynamicsWorld))
btDiscreteDynamicsWorld a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  withBt a3 $ \a3' -> 
  withBt a4 $ \a4' -> 
  btDiscreteDynamicsWorld'_ a1' a2' a3' a4' >>= \res ->
  mkBtDiscreteDynamicsWorld res >>= \res' ->
  return (res')

{-# LINE 35 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

btDiscreteDynamicsWorld_free :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ()
btDiscreteDynamicsWorld_free a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_free'_ a1' >>
  return ()

{-# LINE 36 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#122>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_setGravity :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ gravity
 -> IO ((Vec3))
btDiscreteDynamicsWorld_setGravity a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btDiscreteDynamicsWorld_setGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 42 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#122>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_setGravity' :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btDiscreteDynamicsWorld_setGravity' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btDiscreteDynamicsWorld_setGravity''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 48 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#103>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addAction :: ( BtDiscreteDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ arg0
 -> IO ()
btDiscreteDynamicsWorld_addAction a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_addAction'_ a1' a2' >>
  return ()

{-# LINE 54 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#162>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_applyGravity :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDiscreteDynamicsWorld_applyGravity a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_applyGravity'_ a1' >>
  return ()

{-# LINE 59 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#194>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_serialize :: ( BtDiscreteDynamicsWorldClass bc , BtSerializerClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ serializer
 -> IO ()
btDiscreteDynamicsWorld_serialize a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_serialize'_ a1' a2' >>
  return ()

{-# LINE 65 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#117>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getCollisionWorld :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((BtCollisionWorld))
btDiscreteDynamicsWorld_getCollisionWorld a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_getCollisionWorld'_ a1' >>= \res ->
  mkBtCollisionWorld res >>= \res' ->
  return (res')

{-# LINE 70 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#128>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addRigidBody :: ( BtDiscreteDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btDiscreteDynamicsWorld_addRigidBody a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_addRigidBody'_ a1' a2' >>
  return ()

{-# LINE 76 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#128>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addRigidBody0 :: ( BtDiscreteDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btDiscreteDynamicsWorld_addRigidBody0 a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_addRigidBody0'_ a1' a2' >>
  return ()

{-# LINE 82 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#130>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addRigidBody1 :: ( BtDiscreteDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> (Int) -- ^ group
 -> (Int) -- ^ mask
 -> IO ()
btDiscreteDynamicsWorld_addRigidBody1 a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  let {a3' = fromIntegral a3} in 
  let {a4' = fromIntegral a4} in 
  btDiscreteDynamicsWorld_addRigidBody1'_ a1' a2' a3' a4' >>
  return ()

{-# LINE 90 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#159>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_clearForces :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDiscreteDynamicsWorld_clearForces a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_clearForces'_ a1' >>
  return ()

{-# LINE 95 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#178>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_removeVehicle :: ( BtDiscreteDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ vehicle
 -> IO ()
btDiscreteDynamicsWorld_removeVehicle a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_removeVehicle'_ a1' a2' >>
  return ()

{-# LINE 101 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#80>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_serializeRigidBodies :: ( BtDiscreteDynamicsWorldClass bc , BtSerializerClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ serializer
 -> IO ()
btDiscreteDynamicsWorld_serializeRigidBodies a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_serializeRigidBodies'_ a1' a2' >>
  return ()

{-# LINE 107 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#75>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_internalSingleStepSimulation :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_internalSingleStepSimulation a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_internalSingleStepSimulation'_ a1' a2' >>
  return ()

{-# LINE 113 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#188>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getSynchronizeAllMotionStates :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Bool))
btDiscreteDynamicsWorld_getSynchronizeAllMotionStates a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_getSynchronizeAllMotionStates'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 118 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#164>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_setNumTasks :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ numTasks
 -> IO ()
btDiscreteDynamicsWorld_setNumTasks a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDiscreteDynamicsWorld_setNumTasks'_ a1' a2' >>
  return ()

{-# LINE 124 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#184>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_setSynchronizeAllMotionStates :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Bool) -- ^ synchronizeAll
 -> IO ()
btDiscreteDynamicsWorld_setSynchronizeAllMotionStates a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = C2HSImp.fromBool a2} in 
  btDiscreteDynamicsWorld_setSynchronizeAllMotionStates'_ a1' a2' >>
  return ()

{-# LINE 130 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#61>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_predictUnconstraintMotion :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_predictUnconstraintMotion a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_predictUnconstraintMotion'_ a1' a2' >>
  return ()

{-# LINE 136 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#101>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_removeConstraint :: ( BtDiscreteDynamicsWorldClass bc , BtTypedConstraintClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ constraint
 -> IO ()
btDiscreteDynamicsWorld_removeConstraint a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_removeConstraint'_ a1' a2' >>
  return ()

{-# LINE 142 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#146>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getNumConstraints :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Int))
btDiscreteDynamicsWorld_getNumConstraints a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_getNumConstraints'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 147 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#126>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addCollisionObject :: ( BtDiscreteDynamicsWorldClass bc , BtCollisionObjectClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ collisionObject
 -> (Int) -- ^ collisionFilterGroup
 -> (Int) -- ^ collisionFilterMask
 -> IO ()
btDiscreteDynamicsWorld_addCollisionObject a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  let {a3' = fromIntegral a3} in 
  let {a4' = fromIntegral a4} in 
  btDiscreteDynamicsWorld_addCollisionObject'_ a1' a2' a3' a4' >>
  return ()

{-# LINE 155 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#132>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_removeRigidBody :: ( BtDiscreteDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btDiscreteDynamicsWorld_removeRigidBody a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_removeRigidBody'_ a1' a2' >>
  return ()

{-# LINE 161 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#63>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_integrateTransforms :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_integrateTransforms a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_integrateTransforms'_ a1' a2' >>
  return ()

{-# LINE 167 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#138>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_debugDrawConstraint :: ( BtDiscreteDynamicsWorldClass bc , BtTypedConstraintClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ constraint
 -> IO ()
btDiscreteDynamicsWorld_debugDrawConstraint a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_debugDrawConstraint'_ a1' a2' >>
  return ()

{-# LINE 173 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#140>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_debugDrawWorld :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDiscreteDynamicsWorld_debugDrawWorld a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_debugDrawWorld'_ a1' >>
  return ()

{-# LINE 178 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#65>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_calculateSimulationIslands :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDiscreteDynamicsWorld_calculateSimulationIslands a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_calculateSimulationIslands'_ a1' >>
  return ()

{-# LINE 183 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#99>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addConstraint :: ( BtDiscreteDynamicsWorldClass bc , BtTypedConstraintClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ constraint
 -> (Bool) -- ^ disableCollisionsBetweenLinkedBodies
 -> IO ()
btDiscreteDynamicsWorld_addConstraint a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  let {a3' = C2HSImp.fromBool a3} in 
  btDiscreteDynamicsWorld_addConstraint'_ a1' a2' a3' >>
  return ()

{-# LINE 190 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#73>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_startProfiling :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_startProfiling a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_startProfiling'_ a1' a2' >>
  return ()

{-# LINE 196 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#69>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_updateActivationState :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_updateActivationState a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_updateActivationState'_ a1' a2' >>
  return ()

{-# LINE 202 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#124>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getGravity :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btDiscreteDynamicsWorld_getGravity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btDiscreteDynamicsWorld_getGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 208 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#105>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_removeAction :: ( BtDiscreteDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ arg0
 -> IO ()
btDiscreteDynamicsWorld_removeAction a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_removeAction'_ a1' a2' >>
  return ()

{-# LINE 214 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#182>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_removeCharacter :: ( BtDiscreteDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ character
 -> IO ()
btDiscreteDynamicsWorld_removeCharacter a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_removeCharacter'_ a1' a2' >>
  return ()

{-# LINE 220 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#78>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_saveKinematicState :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_saveKinematicState a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_saveKinematicState'_ a1' a2' >>
  return ()

{-# LINE 226 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#148>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getConstraint :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ index
 -> IO ((BtTypedConstraint))
btDiscreteDynamicsWorld_getConstraint a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDiscreteDynamicsWorld_getConstraint'_ a1' a2' >>= \res ->
  mkBtTypedConstraint res >>= \res' ->
  return (res')

{-# LINE 232 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#148>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getConstraint0 :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ index
 -> IO ((BtTypedConstraint))
btDiscreteDynamicsWorld_getConstraint0 a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDiscreteDynamicsWorld_getConstraint0'_ a1' a2' >>= \res ->
  mkBtTypedConstraint res >>= \res' ->
  return (res')

{-# LINE 238 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#150>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getConstraint1 :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ index
 -> IO ((BtTypedConstraint))
btDiscreteDynamicsWorld_getConstraint1 a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDiscreteDynamicsWorld_getConstraint1'_ a1' a2' >>= \res ->
  mkBtTypedConstraint res >>= \res' ->
  return (res')

{-# LINE 244 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#144>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_getConstraintSolver :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((BtConstraintSolver))
btDiscreteDynamicsWorld_getConstraintSolver a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_getConstraintSolver'_ a1' >>= \res ->
  mkBtConstraintSolver res >>= \res' ->
  return (res')

{-# LINE 249 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#180>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addCharacter :: ( BtDiscreteDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ character
 -> IO ()
btDiscreteDynamicsWorld_addCharacter a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_addCharacter'_ a1' a2' >>
  return ()

{-# LINE 255 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#67>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_solveConstraints :: ( BtDiscreteDynamicsWorldClass bc , BtContactSolverInfoClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ solverInfo
 -> IO ()
btDiscreteDynamicsWorld_solveConstraints a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_solveConstraints'_ a1' a2' >>
  return ()

{-# LINE 261 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#71>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_updateActions :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_updateActions a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_updateActions'_ a1' a2' >>
  return ()

{-# LINE 267 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#170>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_updateVehicles :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btDiscreteDynamicsWorld_updateVehicles a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_updateVehicles'_ a1' a2' >>
  return ()

{-# LINE 273 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#97>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_synchronizeSingleMotionState :: ( BtDiscreteDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btDiscreteDynamicsWorld_synchronizeSingleMotionState a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_synchronizeSingleMotionState'_ a1' a2' >>
  return ()

{-# LINE 279 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#176>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_addVehicle :: ( BtDiscreteDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ vehicle
 -> IO ()
btDiscreteDynamicsWorld_addVehicle a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_addVehicle'_ a1' a2' >>
  return ()

{-# LINE 285 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#94>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_synchronizeMotionStates :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDiscreteDynamicsWorld_synchronizeMotionStates a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_synchronizeMotionStates'_ a1' >>
  return ()

{-# LINE 290 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#91>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_stepSimulation :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> (Int) -- ^ maxSubSteps
 -> (Float) -- ^ fixedTimeStep
 -> IO ((Int))
btDiscreteDynamicsWorld_stepSimulation a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  let {a3' = fromIntegral a3} in 
  let {a4' = realToFrac a4} in 
  btDiscreteDynamicsWorld_stepSimulation'_ a1' a2' a3' a4' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 298 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#135>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_removeCollisionObject :: ( BtDiscreteDynamicsWorldClass bc , BtCollisionObjectClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ collisionObject
 -> IO ()
btDiscreteDynamicsWorld_removeCollisionObject a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_removeCollisionObject'_ a1' a2' >>
  return ()

{-# LINE 304 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#142>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_setConstraintSolver :: ( BtDiscreteDynamicsWorldClass bc , BtConstraintSolverClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ solver
 -> IO ()
btDiscreteDynamicsWorld_setConstraintSolver a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_setConstraintSolver'_ a1' a2' >>
  return ()

{-# LINE 310 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#39>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_constraintSolver_set :: ( BtDiscreteDynamicsWorldClass bc , BtConstraintSolverClass a ) => (bc) -> (a) -> IO ()
btDiscreteDynamicsWorld_m_constraintSolver_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_m_constraintSolver_set'_ a1' a2' >>
  return ()

{-# LINE 314 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#39>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_constraintSolver_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((BtConstraintSolver))
btDiscreteDynamicsWorld_m_constraintSolver_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_constraintSolver_get'_ a1' >>= \res ->
  mkBtConstraintSolver res >>= \res' ->
  return (res')

{-# LINE 318 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#43>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_constraints_set :: ( BtDiscreteDynamicsWorldClass bc , BtAlignedObjectArray_btTypedConstraint_ptr_Class a ) => (bc) -> (a) -> IO ()
btDiscreteDynamicsWorld_m_constraints_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_m_constraints_set'_ a1' a2' >>
  return ()

{-# LINE 322 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#43>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_constraints_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((BtAlignedObjectArray_btTypedConstraint_ptr_))
btDiscreteDynamicsWorld_m_constraints_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_constraints_get'_ a1' >>= \res ->
  mkBtAlignedObjectArray_btTypedConstraint_ptr_ res >>= \res' ->
  return (res')

{-# LINE 326 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#45>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_nonStaticRigidBodies_set :: ( BtDiscreteDynamicsWorldClass bc , BtAlignedObjectArray_btRigidBody_ptr_Class a ) => (bc) -> (a) -> IO ()
btDiscreteDynamicsWorld_m_nonStaticRigidBodies_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_m_nonStaticRigidBodies_set'_ a1' a2' >>
  return ()

{-# LINE 330 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#45>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_nonStaticRigidBodies_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((BtAlignedObjectArray_btRigidBody_ptr_))
btDiscreteDynamicsWorld_m_nonStaticRigidBodies_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_nonStaticRigidBodies_get'_ a1' >>= \res ->
  mkBtAlignedObjectArray_btRigidBody_ptr_ res >>= \res' ->
  return (res')

{-# LINE 334 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#47>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_gravity_set :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> (Vec3) -> IO ()
btDiscreteDynamicsWorld_m_gravity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btDiscreteDynamicsWorld_m_gravity_set'_ a1' a2' >>
  return ()

{-# LINE 338 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#47>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_gravity_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((Vec3))
btDiscreteDynamicsWorld_m_gravity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btDiscreteDynamicsWorld_m_gravity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 342 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#50>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_localTime_set :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> (Float) -> IO ()
btDiscreteDynamicsWorld_m_localTime_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btDiscreteDynamicsWorld_m_localTime_set'_ a1' a2' >>
  return ()

{-# LINE 346 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#50>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_localTime_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((Float))
btDiscreteDynamicsWorld_m_localTime_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_localTime_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 350 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#53>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_ownsIslandManager_set :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> (Bool) -> IO ()
btDiscreteDynamicsWorld_m_ownsIslandManager_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = C2HSImp.fromBool a2} in 
  btDiscreteDynamicsWorld_m_ownsIslandManager_set'_ a1' a2' >>
  return ()

{-# LINE 354 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#53>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_ownsIslandManager_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((Bool))
btDiscreteDynamicsWorld_m_ownsIslandManager_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_ownsIslandManager_get'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 358 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#54>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_ownsConstraintSolver_set :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> (Bool) -> IO ()
btDiscreteDynamicsWorld_m_ownsConstraintSolver_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = C2HSImp.fromBool a2} in 
  btDiscreteDynamicsWorld_m_ownsConstraintSolver_set'_ a1' a2' >>
  return ()

{-# LINE 362 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#54>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_ownsConstraintSolver_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((Bool))
btDiscreteDynamicsWorld_m_ownsConstraintSolver_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_ownsConstraintSolver_get'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 366 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#55>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_set :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> (Bool) -> IO ()
btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = C2HSImp.fromBool a2} in 
  btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_set'_ a1' a2' >>
  return ()

{-# LINE 370 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#55>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((Bool))
btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_get'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 374 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#57>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_actions_set :: ( BtDiscreteDynamicsWorldClass bc , BtAlignedObjectArray_btActionInterface_ptr_Class a ) => (bc) -> (a) -> IO ()
btDiscreteDynamicsWorld_m_actions_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDiscreteDynamicsWorld_m_actions_set'_ a1' a2' >>
  return ()

{-# LINE 378 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#57>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_actions_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((BtAlignedObjectArray_btActionInterface_ptr_))
btDiscreteDynamicsWorld_m_actions_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_actions_get'_ a1' >>= \res ->
  mkBtAlignedObjectArray_btActionInterface_ptr_ res >>= \res' ->
  return (res')

{-# LINE 382 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#59>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_profileTimings_set :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> (Int) -> IO ()
btDiscreteDynamicsWorld_m_profileTimings_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDiscreteDynamicsWorld_m_profileTimings_set'_ a1' a2' >>
  return ()

{-# LINE 386 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h?r=2223#59>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp?r=2223>
-}
btDiscreteDynamicsWorld_m_profileTimings_get :: ( BtDiscreteDynamicsWorldClass bc ) => (bc) -> IO ((Int))
btDiscreteDynamicsWorld_m_profileTimings_get a1 =
  withBt a1 $ \a1' -> 
  btDiscreteDynamicsWorld_m_profileTimings_get'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 390 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

-- * btDynamicsWorld
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#83>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_setGravity :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ gravity
 -> IO ((Vec3))
btDynamicsWorld_setGravity a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btDynamicsWorld_setGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 397 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#83>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_setGravity' :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btDynamicsWorld_setGravity' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btDynamicsWorld_setGravity''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 403 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#77>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_addAction :: ( BtDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ action
 -> IO ()
btDynamicsWorld_addAction a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_addAction'_ a1' a2' >>
  return ()

{-# LINE 409 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#131>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getSolverInfo :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((BtContactSolverInfo))
btDynamicsWorld_getSolverInfo a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_getSolverInfo'_ a1' >>= \res ->
  mkBtContactSolverInfo res >>= \res' ->
  return (res')

{-# LINE 414 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#88>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_addRigidBody :: ( BtDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btDynamicsWorld_addRigidBody a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_addRigidBody'_ a1' a2' >>
  return ()

{-# LINE 420 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#88>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_addRigidBody0 :: ( BtDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btDynamicsWorld_addRigidBody0 a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_addRigidBody0'_ a1' a2' >>
  return ()

{-# LINE 426 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#90>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_addRigidBody1 :: ( BtDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> (Int) -- ^ group
 -> (Int) -- ^ mask
 -> IO ()
btDynamicsWorld_addRigidBody1 a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  let {a3' = fromIntegral a3} in 
  let {a4' = fromIntegral a4} in 
  btDynamicsWorld_addRigidBody1'_ a1' a2' a3' a4' >>
  return ()

{-# LINE 434 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#106>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_clearForces :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDynamicsWorld_clearForces a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_clearForces'_ a1' >>
  return ()

{-# LINE 439 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#140>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_removeVehicle :: ( BtDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ vehicle
 -> IO ()
btDynamicsWorld_removeVehicle a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_removeVehicle'_ a1' a2' >>
  return ()

{-# LINE 445 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#75>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_removeConstraint :: ( BtDynamicsWorldClass bc , BtTypedConstraintClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ constraint
 -> IO ()
btDynamicsWorld_removeConstraint a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_removeConstraint'_ a1' a2' >>
  return ()

{-# LINE 451 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#98>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getNumConstraints :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Int))
btDynamicsWorld_getNumConstraints a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_getNumConstraints'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 456 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#92>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_removeRigidBody :: ( BtDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btDynamicsWorld_removeRigidBody a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_removeRigidBody'_ a1' a2' >>
  return ()

{-# LINE 462 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#86>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_synchronizeMotionStates :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDynamicsWorld_synchronizeMotionStates a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_synchronizeMotionStates'_ a1' >>
  return ()

{-# LINE 467 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#70>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_addConstraint :: ( BtDynamicsWorldClass bc , BtTypedConstraintClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ constraint
 -> (Bool) -- ^ disableCollisionsBetweenLinkedBodies
 -> IO ()
btDynamicsWorld_addConstraint a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  let {a3' = C2HSImp.fromBool a3} in 
  btDynamicsWorld_addConstraint'_ a1' a2' a3' >>
  return ()

{-# LINE 474 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#84>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getGravity :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btDynamicsWorld_getGravity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btDynamicsWorld_getGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 480 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#68>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_debugDrawWorld :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btDynamicsWorld_debugDrawWorld a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_debugDrawWorld'_ a1' >>
  return ()

{-# LINE 485 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#79>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_removeAction :: ( BtDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ action
 -> IO ()
btDynamicsWorld_removeAction a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_removeAction'_ a1' a2' >>
  return ()

{-# LINE 491 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#121>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_setWorldUserInfo :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (VoidPtr) -- ^ worldUserInfo
 -> IO ()
btDynamicsWorld_setWorldUserInfo a1 a2 =
  withBt a1 $ \a1' -> 
  withVoidPtr a2 $ \a2' -> 
  btDynamicsWorld_setWorldUserInfo'_ a1' a2' >>
  return ()

{-# LINE 497 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#144>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_removeCharacter :: ( BtDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ character
 -> IO ()
btDynamicsWorld_removeCharacter a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_removeCharacter'_ a1' a2' >>
  return ()

{-# LINE 503 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#100>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getConstraint :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ index
 -> IO ((BtTypedConstraint))
btDynamicsWorld_getConstraint a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDynamicsWorld_getConstraint'_ a1' a2' >>= \res ->
  mkBtTypedConstraint res >>= \res' ->
  return (res')

{-# LINE 509 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#100>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getConstraint0 :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ index
 -> IO ((BtTypedConstraint))
btDynamicsWorld_getConstraint0 a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDynamicsWorld_getConstraint0'_ a1' a2' >>= \res ->
  mkBtTypedConstraint res >>= \res' ->
  return (res')

{-# LINE 515 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#102>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getConstraint1 :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ index
 -> IO ((BtTypedConstraint))
btDynamicsWorld_getConstraint1 a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btDynamicsWorld_getConstraint1'_ a1' a2' >>= \res ->
  mkBtTypedConstraint res >>= \res' ->
  return (res')

{-# LINE 521 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#96>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getConstraintSolver :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((BtConstraintSolver))
btDynamicsWorld_getConstraintSolver a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_getConstraintSolver'_ a1' >>= \res ->
  mkBtConstraintSolver res >>= \res' ->
  return (res')

{-# LINE 526 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#66>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_stepSimulation :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> (Int) -- ^ maxSubSteps
 -> (Float) -- ^ fixedTimeStep
 -> IO ((Int))
btDynamicsWorld_stepSimulation a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  let {a3' = fromIntegral a3} in 
  let {a4' = realToFrac a4} in 
  btDynamicsWorld_stepSimulation'_ a1' a2' a3' a4' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 534 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#142>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_addCharacter :: ( BtDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ character
 -> IO ()
btDynamicsWorld_addCharacter a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_addCharacter'_ a1' a2' >>
  return ()

{-# LINE 540 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#138>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_addVehicle :: ( BtDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ vehicle
 -> IO ()
btDynamicsWorld_addVehicle a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_addVehicle'_ a1' a2' >>
  return ()

{-# LINE 546 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#126>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_getWorldUserInfo :: ( BtDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((VoidPtr))
btDynamicsWorld_getWorldUserInfo a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_getWorldUserInfo'_ a1' >>= \res ->
  mkVoidPtr res >>= \res' ->
  return (res')

{-# LINE 551 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#94>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_setConstraintSolver :: ( BtDynamicsWorldClass bc , BtConstraintSolverClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ solver
 -> IO ()
btDynamicsWorld_setConstraintSolver a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_setConstraintSolver'_ a1' a2' >>
  return ()

{-# LINE 557 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#46>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_m_worldUserInfo_set :: ( BtDynamicsWorldClass bc ) => (bc) -> (VoidPtr) -> IO ()
btDynamicsWorld_m_worldUserInfo_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVoidPtr a2 $ \a2' -> 
  btDynamicsWorld_m_worldUserInfo_set'_ a1' a2' >>
  return ()

{-# LINE 561 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#46>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_m_worldUserInfo_get :: ( BtDynamicsWorldClass bc ) => (bc) -> IO ((VoidPtr))
btDynamicsWorld_m_worldUserInfo_get a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_m_worldUserInfo_get'_ a1' >>= \res ->
  mkVoidPtr res >>= \res' ->
  return (res')

{-# LINE 565 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#48>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_m_solverInfo_set :: ( BtDynamicsWorldClass bc , BtContactSolverInfoClass a ) => (bc) -> (a) -> IO ()
btDynamicsWorld_m_solverInfo_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btDynamicsWorld_m_solverInfo_set'_ a1' a2' >>
  return ()

{-# LINE 569 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.h?r=2223#48>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btDynamicsWorld.cpp?r=2223>
-}
btDynamicsWorld_m_solverInfo_get :: ( BtDynamicsWorldClass bc ) => (bc) -> IO ((BtContactSolverInfo))
btDynamicsWorld_m_solverInfo_get a1 =
  withBt a1 $ \a1' -> 
  btDynamicsWorld_m_solverInfo_get'_ a1' >>= \res ->
  mkBtContactSolverInfo res >>= \res' ->
  return (res')

{-# LINE 573 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

-- * btRigidBody
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#164>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody0 :: ( BtRigidBody_btRigidBodyConstructionInfoClass p0 ) => (p0) -> IO ((BtRigidBody))
btRigidBody0 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody0'_ a1' >>= \res ->
  mkBtRigidBody res >>= \res' ->
  return (res')

{-# LINE 578 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#168>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody1 :: ( BtMotionStateClass p1 , BtCollisionShapeClass p2 ) => (Float) -> (p1) -> (p2) -> (Vec3) -> IO ((BtRigidBody))
btRigidBody1 a1 a2 a3 a4 =
  let {a1' = realToFrac a1} in 
  withBt a2 $ \a2' -> 
  withBt a3 $ \a3' -> 
  withVec3 a4 $ \a4' -> 
  btRigidBody1'_ a1' a2' a3' a4' >>= \res ->
  mkBtRigidBody res >>= \res' ->
  return (res')

{-# LINE 582 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

btRigidBody_free :: ( BtRigidBodyClass bc ) => (bc) -> IO ()
btRigidBody_free a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_free'_ a1' >>
  return ()

{-# LINE 583 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#209>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setGravity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ acceleration
 -> IO ((Vec3))
btRigidBody_setGravity a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_setGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 589 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#209>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setGravity' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_setGravity' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_setGravity''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 595 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#405>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_updateDeactivation :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btRigidBody_updateDeactivation a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_updateDeactivation'_ a1' a2' >>
  return ()

{-# LINE 601 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#477>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setAngularFactor :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ angFac
 -> IO ((Vec3))
btRigidBody_setAngularFactor a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_setAngularFactor'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 607 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#477>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setAngularFactor' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_setAngularFactor' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_setAngularFactor''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 613 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#477>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setAngularFactor0 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ angFac
 -> IO ((Vec3))
btRigidBody_setAngularFactor0 a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_setAngularFactor0'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 619 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#477>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setAngularFactor0' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_setAngularFactor0' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_setAngularFactor0''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 625 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#482>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setAngularFactor1 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ angFac
 -> IO ()
btRigidBody_setAngularFactor1 a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_setAngularFactor1'_ a1' a2' >>
  return ()

{-# LINE 631 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#606>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalWritebackVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ()
btRigidBody_internalWritebackVelocity a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_internalWritebackVelocity'_ a1' >>
  return ()

{-# LINE 636 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#606>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalWritebackVelocity0 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ()
btRigidBody_internalWritebackVelocity0 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_internalWritebackVelocity0'_ a1' >>
  return ()

{-# LINE 641 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#619>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalWritebackVelocity1 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btRigidBody_internalWritebackVelocity1 a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_internalWritebackVelocity1'_ a1' a2' >>
  return ()

{-# LINE 647 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#532>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getPushVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getPushVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getPushVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 653 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#551>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetDeltaAngularVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_internalGetDeltaAngularVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_internalGetDeltaAngularVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 659 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#207>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyGravity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ()
btRigidBody_applyGravity a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_applyGravity'_ a1' >>
  return ()

{-# LINE 664 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#628>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_serialize :: ( BtRigidBodyClass bc , BtSerializerClass p1 ) => (bc) -- ^ 
 -> (VoidPtr) -- ^ dataBuffer
 -> (p1) -- ^ serializer
 -> IO ((String))
btRigidBody_serialize a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withVoidPtr a2 $ \a2' -> 
  withBt a3 $ \a3' -> 
  btRigidBody_serialize'_ a1' a2' a3' >>= \res ->
  C2HSImp.peekCString res >>= \res' ->
  return (res')

{-# LINE 671 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#343>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getOrientation :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((UnitQuaternion))
btRigidBody_getOrientation a1 =
  withBt a1 $ \a1' -> 
  allocaUnitQuaternion $ \a2' -> 
  btRigidBody_getOrientation'_ a1' a2' >>
  peekUnitQuaternion  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 677 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#268>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyCentralForce :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ force
 -> IO ((Vec3))
btRigidBody_applyCentralForce a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_applyCentralForce'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 683 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#268>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyCentralForce' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_applyCentralForce' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_applyCentralForce''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 689 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#466>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setMotionState :: ( BtRigidBodyClass bc , BtMotionStateClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ motionState
 -> IO ()
btRigidBody_setMotionState a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_setMotionState'_ a1' a2' >>
  return ()

{-# LINE 695 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#332>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_clearForces :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ()
btRigidBody_clearForces a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_clearForces'_ a1' >>
  return ()

{-# LINE 700 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#458>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getMotionState :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtMotionState))
btRigidBody_getMotionState a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getMotionState'_ a1' >>= \res ->
  mkBtMotionState res >>= \res' ->
  return (res')

{-# LINE 705 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#458>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getMotionState0 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtMotionState))
btRigidBody_getMotionState0 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getMotionState0'_ a1' >>= \res ->
  mkBtMotionState res >>= \res' ->
  return (res')

{-# LINE 710 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#462>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getMotionState1 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtMotionState))
btRigidBody_getMotionState1 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getMotionState1'_ a1' >>= \res ->
  mkBtMotionState res >>= \res' ->
  return (res')

{-# LINE 715 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#216>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setDamping :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ lin_damping
 -> (Float) -- ^ ang_damping
 -> IO ()
btRigidBody_setDamping a1 a2 a3 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  let {a3' = realToFrac a3} in 
  btRigidBody_setDamping'_ a1' a2' a3' >>
  return ()

{-# LINE 722 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#320>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyImpulse :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ impulse
 -> (Vec3) -- ^ rel_pos
 -> IO ((Vec3), (Vec3))
btRigidBody_applyImpulse a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  withVec3 a3 $ \a3' -> 
  btRigidBody_applyImpulse'_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 729 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#320>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyImpulse' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3), (Vec3))
btRigidBody_applyImpulse' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  btRigidBody_applyImpulse''_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 736 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#299>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyTorque :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ torque
 -> IO ((Vec3))
btRigidBody_applyTorque a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_applyTorque'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 742 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#299>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyTorque' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_applyTorque' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_applyTorque''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 748 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#597>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalApplyPushImpulse :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ linearComponent
 -> (Vec3) -- ^ angularComponent
 -> (Float) -- ^ impulseMagnitude
 -> IO ((Vec3), (Vec3))
btRigidBody_internalApplyPushImpulse a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  withVec3 a3 $ \a3' -> 
  let {a4' = realToFrac a4} in 
  btRigidBody_internalApplyPushImpulse'_ a1' a2' a3' a4' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 756 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#597>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalApplyPushImpulse' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ impulseMagnitude
 -> IO ((Vec3), (Vec3))
btRigidBody_internalApplyPushImpulse' a1 a4 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  let {a4' = realToFrac a4} in 
  btRigidBody_internalApplyPushImpulse''_ a1' a2' a3' a4' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 764 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#422>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_wantsSleeping :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Bool))
btRigidBody_wantsSleeping a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_wantsSleeping'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 769 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#452>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setNewBroadphaseProxy :: ( BtRigidBodyClass bc , BtBroadphaseProxyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ broadphaseProxy
 -> IO ()
btRigidBody_setNewBroadphaseProxy a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_setNewBroadphaseProxy'_ a1' a2' >>
  return ()

{-# LINE 775 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#366>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getVelocityInLocalPoint :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ rel_pos
 -> IO ((Vec3), (Vec3))
btRigidBody_getVelocityInLocalPoint a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  btRigidBody_getVelocityInLocalPoint'_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 782 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#366>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getVelocityInLocalPoint' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3), (Vec3))
btRigidBody_getVelocityInLocalPoint' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  btRigidBody_getVelocityInLocalPoint''_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 789 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#625>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_calculateSerializeBufferSize :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Int))
btRigidBody_calculateSerializeBufferSize a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_calculateSerializeBufferSize'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 794 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#361>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setAngularVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ ang_vel
 -> IO ((Vec3))
btRigidBody_setAngularVelocity a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_setAngularVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 800 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#361>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setAngularVelocity' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_setAngularVelocity' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_setAngularVelocity''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 806 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#250>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getLinearFactor :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getLinearFactor a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getLinearFactor'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 812 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#203>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_predictIntegratedTransform :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ step
 -> (Transform) -- ^ predictedTransform
 -> IO ((Transform))
btRigidBody_predictIntegratedTransform a1 a2 a3 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  withTransform a3 $ \a3' -> 
  btRigidBody_predictIntegratedTransform'_ a1' a2' a3' >>
  peekTransform  a3'>>= \a3'' -> 
  return (a3'')

{-# LINE 819 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#203>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_predictIntegratedTransform' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ step
 -> IO ((Transform))
btRigidBody_predictIntegratedTransform' a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  allocaTransform $ \a3' -> 
  btRigidBody_predictIntegratedTransform''_ a1' a2' a3' >>
  peekTransform  a3'>>= \a3'' -> 
  return (a3'')

{-# LINE 826 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#556>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetAngularFactor :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_internalGetAngularFactor a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_internalGetAngularFactor'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 832 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#233>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getAngularSleepingThreshold :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Float))
btRigidBody_getAngularSleepingThreshold a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getAngularSleepingThreshold'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 837 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#238>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyDamping :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btRigidBody_applyDamping a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_applyDamping'_ a1' a2' >>
  return ()

{-# LINE 843 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#205>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_saveKinematicState :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ step
 -> IO ()
btRigidBody_saveKinematicState a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_saveKinematicState'_ a1' a2' >>
  return ()

{-# LINE 849 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#293>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setSleepingThresholds :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ linear
 -> (Float) -- ^ angular
 -> IO ()
btRigidBody_setSleepingThresholds a1 a2 a3 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  let {a3' = realToFrac a3} in 
  btRigidBody_setSleepingThresholds'_ a1' a2' a3' >>
  return ()

{-# LINE 856 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#351>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getAngularVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getAngularVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getAngularVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 862 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#228>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getLinearSleepingThreshold :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Float))
btRigidBody_getLinearSleepingThreshold a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getLinearSleepingThreshold'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 867 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#561>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetInvMass :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_internalGetInvMass a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_internalGetInvMass'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 873 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#315>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyTorqueImpulse :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ torque
 -> IO ((Vec3))
btRigidBody_applyTorqueImpulse a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_applyTorqueImpulse'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 879 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#315>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyTorqueImpulse' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_applyTorqueImpulse' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_applyTorqueImpulse''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 885 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#566>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetPushVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_internalGetPushVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_internalGetPushVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 891 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#254>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setLinearFactor :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ linearFactor
 -> IO ((Vec3))
btRigidBody_setLinearFactor a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_setLinearFactor'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 897 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#254>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setLinearFactor' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_setLinearFactor' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_setLinearFactor''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 903 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#630>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_serializeSingleObject :: ( BtRigidBodyClass bc , BtSerializerClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ serializer
 -> IO ()
btRigidBody_serializeSingleObject a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_serializeSingleObject'_ a1' a2' >>
  return ()

{-# LINE 909 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#259>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getInvMass :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Float))
btRigidBody_getInvMass a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getInvMass'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 914 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#273>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getTotalForce :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getTotalForce a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getTotalForce'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 920 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#340>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getCenterOfMassPosition :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getCenterOfMassPosition a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getCenterOfMassPosition'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 926 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#381>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getAabb :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ aabbMin
 -> (Vec3) -- ^ aabbMax
 -> IO ((Vec3), (Vec3))
btRigidBody_getAabb a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  withVec3 a3 $ \a3' -> 
  btRigidBody_getAabb'_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 933 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#381>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getAabb' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3), (Vec3))
btRigidBody_getAabb' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  btRigidBody_getAabb''_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 940 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#444>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getBroadphaseProxy :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtBroadphaseProxy))
btRigidBody_getBroadphaseProxy a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getBroadphaseProxy'_ a1' >>= \res ->
  mkBtBroadphaseProxy res >>= \res' ->
  return (res')

{-# LINE 945 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#444>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getBroadphaseProxy0 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtBroadphaseProxy))
btRigidBody_getBroadphaseProxy0 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getBroadphaseProxy0'_ a1' >>= \res ->
  mkBtBroadphaseProxy res >>= \res' ->
  return (res')

{-# LINE 950 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#448>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getBroadphaseProxy1 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtBroadphaseProxy))
btRigidBody_getBroadphaseProxy1 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getBroadphaseProxy1'_ a1' >>= \res ->
  mkBtBroadphaseProxy res >>= \res' ->
  return (res')

{-# LINE 955 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#240>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getCollisionShape :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtCollisionShape))
btRigidBody_getCollisionShape a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getCollisionShape'_ a1' >>= \res ->
  mkBtCollisionShape res >>= \res' ->
  return (res')

{-# LINE 960 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#240>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getCollisionShape0 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtCollisionShape))
btRigidBody_getCollisionShape0 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getCollisionShape0'_ a1' >>= \res ->
  mkBtCollisionShape res >>= \res' ->
  return (res')

{-# LINE 965 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#244>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getCollisionShape1 :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((BtCollisionShape))
btRigidBody_getCollisionShape1 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getCollisionShape1'_ a1' >>= \res ->
  mkBtCollisionShape res >>= \res' ->
  return (res')

{-# LINE 970 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#189>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_upcast :: (  BtCollisionObjectClass p0 ) => (p0) -- ^ colObj
 -> IO ((BtRigidBody))
btRigidBody_upcast a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_upcast'_ a1' >>= \res ->
  mkBtRigidBody res >>= \res' ->
  return (res')

{-# LINE 975 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#189>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_upcast0 :: (  BtCollisionObjectClass p0 ) => (p0) -- ^ colObj
 -> IO ((BtRigidBody))
btRigidBody_upcast0 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_upcast0'_ a1' >>= \res ->
  mkBtRigidBody res >>= \res' ->
  return (res')

{-# LINE 980 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#195>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_upcast1 :: (  BtCollisionObjectClass p0 ) => (p0) -- ^ colObj
 -> IO ((BtRigidBody))
btRigidBody_upcast1 a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_upcast1'_ a1' >>= \res ->
  mkBtRigidBody res >>= \res' ->
  return (res')

{-# LINE 985 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#497>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_checkCollideWithOverride :: ( BtRigidBodyClass bc , BtCollisionObjectClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ co
 -> IO ((Bool))
btRigidBody_checkCollideWithOverride a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_checkCollideWithOverride'_ a1' a2' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 991 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#375>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_translate :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ v
 -> IO ((Vec3))
btRigidBody_translate a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_translate'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 997 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#375>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_translate' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_translate' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_translate''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1003 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#338>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_updateInertiaTensor :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ()
btRigidBody_updateInertiaTensor a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_updateInertiaTensor'_ a1' >>
  return ()

{-# LINE 1008 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#304>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyForce :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ force
 -> (Vec3) -- ^ rel_pos
 -> IO ((Vec3), (Vec3))
btRigidBody_applyForce a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  withVec3 a3 $ \a3' -> 
  btRigidBody_applyForce'_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 1015 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#304>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyForce' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3), (Vec3))
btRigidBody_applyForce' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  btRigidBody_applyForce''_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 1022 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#581>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetAngularVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ angVel
 -> IO ((Vec3))
btRigidBody_internalGetAngularVelocity a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_internalGetAngularVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1028 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#581>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetAngularVelocity' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_internalGetAngularVelocity' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_internalGetAngularVelocity''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1034 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#181>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setupRigidBody :: ( BtRigidBodyClass bc , BtRigidBody_btRigidBodyConstructionInfoClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ constructionInfo
 -> IO ()
btRigidBody_setupRigidBody a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_setupRigidBody'_ a1' a2' >>
  return ()

{-# LINE 1040 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#310>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyCentralImpulse :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ impulse
 -> IO ((Vec3))
btRigidBody_applyCentralImpulse a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_applyCentralImpulse'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1046 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#310>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_applyCentralImpulse' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_applyCentralImpulse' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_applyCentralImpulse''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1052 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#537>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getTurnVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getTurnVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getTurnVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1058 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#522>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getDeltaLinearVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getDeltaLinearVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getDeltaLinearVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1064 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#264>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_integrateVelocities :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ step
 -> IO ()
btRigidBody_integrateVelocities a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_integrateVelocities'_ a1' a2' >>
  return ()

{-# LINE 1070 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#211>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getGravity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getGravity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1076 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#248>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setMassProps :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ mass
 -> (Vec3) -- ^ inertia
 -> IO ((Vec3))
btRigidBody_setMassProps a1 a2 a3 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  withVec3 a3 $ \a3' -> 
  btRigidBody_setMassProps'_ a1' a2' a3' >>
  peekVec3  a3'>>= \a3'' -> 
  return (a3'')

{-# LINE 1083 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#248>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setMassProps' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ mass
 -> IO ((Vec3))
btRigidBody_setMassProps' a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  allocaVec3 $ \a3' -> 
  btRigidBody_setMassProps''_ a1' a2' a3' >>
  peekVec3  a3'>>= \a3'' -> 
  return (a3'')

{-# LINE 1090 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#266>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setCenterOfMassTransform :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Transform) -- ^ xform
 -> IO ((Transform))
btRigidBody_setCenterOfMassTransform a1 a2 =
  withBt a1 $ \a1' -> 
  withTransform a2 $ \a2' -> 
  btRigidBody_setCenterOfMassTransform'_ a1' a2' >>
  peekTransform  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1096 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#266>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setCenterOfMassTransform' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Transform))
btRigidBody_setCenterOfMassTransform' a1 =
  withBt a1 $ \a1' -> 
  allocaTransform $ \a2' -> 
  btRigidBody_setCenterOfMassTransform''_ a1' a2' >>
  peekTransform  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1102 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#512>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setFlags :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ flags
 -> IO ()
btRigidBody_setFlags a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBody_setFlags'_ a1' a2' >>
  return ()

{-# LINE 1108 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#499>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_addConstraintRef :: ( BtRigidBodyClass bc , BtTypedConstraintClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ c
 -> IO ()
btRigidBody_addConstraintRef a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_addConstraintRef'_ a1' a2' >>
  return ()

{-# LINE 1114 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#356>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setLinearVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ lin_vel
 -> IO ((Vec3))
btRigidBody_setLinearVelocity a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_setLinearVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1120 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#356>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setLinearVelocity' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_setLinearVelocity' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_setLinearVelocity''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1126 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#492>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_isInWorld :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Bool))
btRigidBody_isInWorld a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_isInWorld'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 1131 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#278>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getTotalTorque :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getTotalTorque a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getTotalTorque'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1137 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#507>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getNumConstraintRefs :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Int))
btRigidBody_getNumConstraintRefs a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getNumConstraintRefs'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1142 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#399>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_computeAngularImpulseDenominator :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ axis
 -> IO ((Float), (Vec3))
btRigidBody_computeAngularImpulseDenominator a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_computeAngularImpulseDenominator'_ a1' a2' >>= \res ->
  let {res' = realToFrac res} in
  peekVec3  a2'>>= \a2'' -> 
  return (res', a2'')

{-# LINE 1148 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#399>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_computeAngularImpulseDenominator' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Float), (Vec3))
btRigidBody_computeAngularImpulseDenominator' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_computeAngularImpulseDenominator''_ a1' a2' >>= \res ->
  let {res' = realToFrac res} in
  peekVec3  a2'>>= \a2'' -> 
  return (res', a2'')

{-# LINE 1154 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#260>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getInvInertiaTensorWorld :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Mat3))
btRigidBody_getInvInertiaTensorWorld a1 =
  withBt a1 $ \a1' -> 
  allocaMat3 $ \a2' -> 
  btRigidBody_getInvInertiaTensorWorld'_ a1' a2' >>
  peekMat3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1160 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#527>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getDeltaAngularVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getDeltaAngularVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getDeltaAngularVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1166 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#546>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetDeltaLinearVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_internalGetDeltaLinearVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_internalGetDeltaLinearVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1172 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#387>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_computeImpulseDenominator :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ pos
 -> (Vec3) -- ^ normal
 -> IO ((Float), (Vec3), (Vec3))
btRigidBody_computeImpulseDenominator a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  withVec3 a3 $ \a3' -> 
  btRigidBody_computeImpulseDenominator'_ a1' a2' a3' >>= \res ->
  let {res' = realToFrac res} in
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (res', a2'', a3'')

{-# LINE 1179 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#387>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_computeImpulseDenominator' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Float), (Vec3), (Vec3))
btRigidBody_computeImpulseDenominator' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  btRigidBody_computeImpulseDenominator''_ a1' a2' a3' >>= \res ->
  let {res' = realToFrac res} in
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (res', a2'', a3'')

{-# LINE 1186 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#502>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getConstraintRef :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Int) -- ^ index
 -> IO ((BtTypedConstraint))
btRigidBody_getConstraintRef a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBody_getConstraintRef'_ a1' a2' >>= \res ->
  mkBtTypedConstraint res >>= \res' ->
  return (res')

{-# LINE 1192 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#223>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getAngularDamping :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Float))
btRigidBody_getAngularDamping a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getAngularDamping'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1197 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#571>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetTurnVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_internalGetTurnVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_internalGetTurnVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1203 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#185>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_proceedToTransform :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Transform) -- ^ newTrans
 -> IO ((Transform))
btRigidBody_proceedToTransform a1 a2 =
  withBt a1 $ \a1' -> 
  withTransform a2 $ \a2' -> 
  btRigidBody_proceedToTransform'_ a1' a2' >>
  peekTransform  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1209 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#185>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_proceedToTransform' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Transform))
btRigidBody_proceedToTransform' a1 =
  withBt a1 $ \a1' -> 
  allocaTransform $ \a2' -> 
  btRigidBody_proceedToTransform''_ a1' a2' >>
  peekTransform  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1215 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#288>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setInvInertiaDiagLocal :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ diagInvInertia
 -> IO ((Vec3))
btRigidBody_setInvInertiaDiagLocal a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_setInvInertiaDiagLocal'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1221 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#288>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_setInvInertiaDiagLocal' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_setInvInertiaDiagLocal' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_setInvInertiaDiagLocal''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1227 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#283>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getInvInertiaDiagLocal :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getInvInertiaDiagLocal a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getInvInertiaDiagLocal'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1233 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#345>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getCenterOfMassTransform :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Transform))
btRigidBody_getCenterOfMassTransform a1 =
  withBt a1 $ \a1' -> 
  allocaTransform $ \a2' -> 
  btRigidBody_getCenterOfMassTransform'_ a1' a2' >>
  peekTransform  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1239 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#500>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_removeConstraintRef :: ( BtRigidBodyClass bc , BtTypedConstraintClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ c
 -> IO ()
btRigidBody_removeConstraintRef a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_removeConstraintRef'_ a1' a2' >>
  return ()

{-# LINE 1245 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#486>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getAngularFactor :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getAngularFactor a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getAngularFactor'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1251 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#348>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getLinearVelocity :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btRigidBody_getLinearVelocity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_getLinearVelocity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1257 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#517>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getFlags :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Int))
btRigidBody_getFlags a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getFlags'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1262 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#576>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetVelocityInLocalPointObsolete :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ rel_pos
 -> (Vec3) -- ^ velocity
 -> IO ((Vec3), (Vec3))
btRigidBody_internalGetVelocityInLocalPointObsolete a1 a2 a3 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  withVec3 a3 $ \a3' -> 
  btRigidBody_internalGetVelocityInLocalPointObsolete'_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 1269 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#576>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_internalGetVelocityInLocalPointObsolete' :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Vec3), (Vec3))
btRigidBody_internalGetVelocityInLocalPointObsolete' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  allocaVec3 $ \a3' -> 
  btRigidBody_internalGetVelocityInLocalPointObsolete''_ a1' a2' a3' >>
  peekVec3  a2'>>= \a2'' -> 
  peekVec3  a3'>>= \a3'' -> 
  return (a2'', a3'')

{-# LINE 1276 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#218>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_getLinearDamping :: ( BtRigidBodyClass bc ) => (bc) -- ^ 
 -> IO ((Float))
btRigidBody_getLinearDamping a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_getLinearDamping'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1281 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#77>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalAngularDampingFactor_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_additionalAngularDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_additionalAngularDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1285 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#77>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalAngularDampingFactor_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_additionalAngularDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_additionalAngularDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1289 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#76>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalAngularDampingThresholdSqr_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_additionalAngularDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_additionalAngularDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1293 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#76>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalAngularDampingThresholdSqr_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_additionalAngularDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_additionalAngularDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1297 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#73>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalDamping_set :: ( BtRigidBodyClass bc ) => (bc) -> (Bool) -> IO ()
btRigidBody_m_additionalDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = C2HSImp.fromBool a2} in 
  btRigidBody_m_additionalDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1301 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#73>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalDamping_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Bool))
btRigidBody_m_additionalDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_additionalDamping_get'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 1305 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#74>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalDampingFactor_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_additionalDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_additionalDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1309 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#74>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalDampingFactor_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_additionalDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_additionalDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1313 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#75>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalLinearDampingThresholdSqr_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_additionalLinearDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_additionalLinearDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1317 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#75>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_additionalLinearDampingThresholdSqr_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_additionalLinearDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_additionalLinearDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1321 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#71>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularDamping_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_angularDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_angularDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1325 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#71>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularDamping_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_angularDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_angularDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1329 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#98>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularFactor_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_angularFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_angularFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1333 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#98>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularFactor_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_angularFactor_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_angularFactor_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1337 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#81>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularSleepingThreshold_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_angularSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_angularSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1341 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#81>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularSleepingThreshold_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_angularSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_angularSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1345 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#60>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularVelocity_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_angularVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_angularVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1349 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#60>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_angularVelocity_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_angularVelocity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_angularVelocity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1353 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#87>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_constraintRefs_set :: ( BtRigidBodyClass bc , BtAlignedObjectArray_btTypedConstraint_ptr_Class a ) => (bc) -> (a) -> IO ()
btRigidBody_m_constraintRefs_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_m_constraintRefs_set'_ a1' a2' >>
  return ()

{-# LINE 1357 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#87>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_constraintRefs_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((BtAlignedObjectArray_btTypedConstraint_ptr_))
btRigidBody_m_constraintRefs_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_constraintRefs_get'_ a1' >>= \res ->
  mkBtAlignedObjectArray_btTypedConstraint_ptr_ res >>= \res' ->
  return (res')

{-# LINE 1361 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#474>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_contactSolverType_set :: ( BtRigidBodyClass bc ) => (bc) -> (Int) -> IO ()
btRigidBody_m_contactSolverType_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBody_m_contactSolverType_set'_ a1' a2' >>
  return ()

{-# LINE 1365 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#474>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_contactSolverType_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Int))
btRigidBody_m_contactSolverType_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_contactSolverType_get'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1369 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#91>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_debugBodyId_set :: ( BtRigidBodyClass bc ) => (bc) -> (Int) -> IO ()
btRigidBody_m_debugBodyId_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBody_m_debugBodyId_set'_ a1' a2' >>
  return ()

{-# LINE 1373 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#91>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_debugBodyId_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Int))
btRigidBody_m_debugBodyId_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_debugBodyId_get'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1377 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#97>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_deltaAngularVelocity_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_deltaAngularVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_deltaAngularVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1381 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#97>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_deltaAngularVelocity_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_deltaAngularVelocity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_deltaAngularVelocity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1385 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#96>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_deltaLinearVelocity_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_deltaLinearVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_deltaLinearVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1389 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#96>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_deltaLinearVelocity_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_deltaLinearVelocity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_deltaLinearVelocity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1393 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#475>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_frictionSolverType_set :: ( BtRigidBodyClass bc ) => (bc) -> (Int) -> IO ()
btRigidBody_m_frictionSolverType_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBody_m_frictionSolverType_set'_ a1' a2' >>
  return ()

{-# LINE 1397 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#475>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_frictionSolverType_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Int))
btRigidBody_m_frictionSolverType_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_frictionSolverType_get'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1401 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#64>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_gravity_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_gravity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_gravity_set'_ a1' a2' >>
  return ()

{-# LINE 1405 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#64>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_gravity_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_gravity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_gravity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1409 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#65>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_gravity_acceleration_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_gravity_acceleration_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_gravity_acceleration_set'_ a1' a2' >>
  return ()

{-# LINE 1413 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#65>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_gravity_acceleration_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_gravity_acceleration_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_gravity_acceleration_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1417 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#66>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_invInertiaLocal_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_invInertiaLocal_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_invInertiaLocal_set'_ a1' a2' >>
  return ()

{-# LINE 1421 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#66>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_invInertiaLocal_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_invInertiaLocal_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_invInertiaLocal_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1425 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#58>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_invInertiaTensorWorld_set :: ( BtRigidBodyClass bc ) => (bc) -> (Mat3) -> IO ()
btRigidBody_m_invInertiaTensorWorld_set a1 a2 =
  withBt a1 $ \a1' -> 
  withMat3 a2 $ \a2' -> 
  btRigidBody_m_invInertiaTensorWorld_set'_ a1' a2' >>
  return ()

{-# LINE 1429 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#58>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_invInertiaTensorWorld_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Mat3))
btRigidBody_m_invInertiaTensorWorld_get a1 =
  withBt a1 $ \a1' -> 
  allocaMat3 $ \a2' -> 
  btRigidBody_m_invInertiaTensorWorld_get'_ a1' a2' >>
  peekMat3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1433 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#99>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_invMass_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_invMass_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_invMass_set'_ a1' a2' >>
  return ()

{-# LINE 1437 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#99>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_invMass_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_invMass_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_invMass_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1441 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#61>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_inverseMass_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_inverseMass_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_inverseMass_set'_ a1' a2' >>
  return ()

{-# LINE 1445 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#61>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_inverseMass_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_inverseMass_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_inverseMass_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1449 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#70>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearDamping_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_linearDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_linearDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1453 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#70>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearDamping_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_linearDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_linearDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1457 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#62>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearFactor_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_linearFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_linearFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1461 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#62>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearFactor_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_linearFactor_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_linearFactor_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1465 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#80>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearSleepingThreshold_set :: ( BtRigidBodyClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_m_linearSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_m_linearSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1469 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#80>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearSleepingThreshold_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Float))
btRigidBody_m_linearSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_linearSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1473 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#59>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearVelocity_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_linearVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_linearVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1477 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#59>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_linearVelocity_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_linearVelocity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_linearVelocity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1481 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#84>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_optionalMotionState_set :: ( BtRigidBodyClass bc , BtMotionStateClass a ) => (bc) -> (a) -> IO ()
btRigidBody_m_optionalMotionState_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_m_optionalMotionState_set'_ a1' a2' >>
  return ()

{-# LINE 1485 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#84>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_optionalMotionState_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((BtMotionState))
btRigidBody_m_optionalMotionState_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_optionalMotionState_get'_ a1' >>= \res ->
  mkBtMotionState res >>= \res' ->
  return (res')

{-# LINE 1489 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#100>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_pushVelocity_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_pushVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_pushVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1493 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#100>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_pushVelocity_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_pushVelocity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_pushVelocity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1497 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#89>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_rigidbodyFlags_set :: ( BtRigidBodyClass bc ) => (bc) -> (Int) -> IO ()
btRigidBody_m_rigidbodyFlags_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBody_m_rigidbodyFlags_set'_ a1' a2' >>
  return ()

{-# LINE 1501 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#89>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_rigidbodyFlags_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Int))
btRigidBody_m_rigidbodyFlags_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_m_rigidbodyFlags_get'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1505 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#67>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_totalForce_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_totalForce_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_totalForce_set'_ a1' a2' >>
  return ()

{-# LINE 1509 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#67>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_totalForce_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_totalForce_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_totalForce_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1513 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#68>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_totalTorque_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_totalTorque_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_totalTorque_set'_ a1' a2' >>
  return ()

{-# LINE 1517 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#68>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_totalTorque_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_totalTorque_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_totalTorque_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1521 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#101>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_turnVelocity_set :: ( BtRigidBodyClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_m_turnVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_m_turnVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1525 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#101>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_m_turnVelocity_get :: ( BtRigidBodyClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_m_turnVelocity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_m_turnVelocity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1529 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

-- * btRigidBodyConstructionInfo
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#142>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo :: ( BtMotionStateClass p1 , BtCollisionShapeClass p2 ) => (Float) -> (p1) -> (p2) -> (Vec3) -> IO ((BtRigidBody_btRigidBodyConstructionInfo))
btRigidBody_btRigidBodyConstructionInfo a1 a2 a3 a4 =
  let {a1' = realToFrac a1} in 
  withBt a2 $ \a2' -> 
  withBt a3 $ \a3' -> 
  withVec3 a4 $ \a4' -> 
  btRigidBody_btRigidBodyConstructionInfo'_ a1' a2' a3' a4' >>= \res ->
  mkBtRigidBody_btRigidBodyConstructionInfo res >>= \res' ->
  return (res')

{-# LINE 1534 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

btRigidBody_btRigidBodyConstructionInfo_free :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_free a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_free'_ a1' >>
  return ()

{-# LINE 1535 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#140>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1539 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#140>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1543 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#139>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1547 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#139>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1551 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#136>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Bool) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = C2HSImp.fromBool a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1555 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#136>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Bool))
btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_get'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 1559 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#137>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1563 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#137>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1567 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#138>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1571 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#138>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1575 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#124>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1579 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#124>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1583 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#132>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1587 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#132>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1591 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#121>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc , BtCollisionShapeClass a ) => (bc) -> (a) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_set'_ a1' a2' >>
  return ()

{-# LINE 1595 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#121>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((BtCollisionShape))
btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_get'_ a1' >>= \res ->
  mkBtCollisionShape res >>= \res' ->
  return (res')

{-# LINE 1599 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#127>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_friction_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_friction_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_friction_set'_ a1' a2' >>
  return ()

{-# LINE 1603 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#127>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_friction_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_friction_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_friction_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1607 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#123>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1611 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#123>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1615 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#131>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1619 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#131>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1623 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#122>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_localInertia_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Vec3) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_localInertia_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_localInertia_set'_ a1' a2' >>
  return ()

{-# LINE 1627 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#122>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_localInertia_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Vec3))
btRigidBody_btRigidBodyConstructionInfo_m_localInertia_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_localInertia_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1631 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#114>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_mass_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_mass_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_mass_set'_ a1' a2' >>
  return ()

{-# LINE 1635 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#114>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_mass_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_mass_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_mass_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1639 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#118>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_motionState_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc , BtMotionStateClass a ) => (bc) -> (a) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_motionState_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_motionState_set'_ a1' a2' >>
  return ()

{-# LINE 1643 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#118>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_motionState_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((BtMotionState))
btRigidBody_btRigidBodyConstructionInfo_m_motionState_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_motionState_get'_ a1' >>= \res ->
  mkBtMotionState res >>= \res' ->
  return (res')

{-# LINE 1647 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#129>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_restitution_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Float) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_restitution_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBody_btRigidBodyConstructionInfo_m_restitution_set'_ a1' a2' >>
  return ()

{-# LINE 1651 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#129>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_restitution_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Float))
btRigidBody_btRigidBodyConstructionInfo_m_restitution_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_restitution_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1655 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#119>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_set :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> (Transform) -> IO ()
btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_set a1 a2 =
  withBt a1 $ \a1' -> 
  withTransform a2 $ \a2' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_set'_ a1' a2' >>
  return ()

{-# LINE 1659 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#119>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_get :: ( BtRigidBody_btRigidBodyConstructionInfoClass bc ) => (bc) -> IO ((Transform))
btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_get a1 =
  withBt a1 $ \a1' -> 
  allocaTransform $ \a2' -> 
  btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_get'_ a1' a2' >>
  peekTransform  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 1663 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

-- * btRigidBodyDoubleData
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#663>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData :: IO ((BtRigidBodyDoubleData))
btRigidBodyDoubleData =
  btRigidBodyDoubleData'_ >>= \res ->
  mkBtRigidBodyDoubleData res >>= \res' ->
  return (res')

{-# LINE 1668 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

btRigidBodyDoubleData_free :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ()
btRigidBodyDoubleData_free a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_free'_ a1' >>
  return ()

{-# LINE 1669 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#664>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_collisionObjectData_set :: ( BtRigidBodyDoubleDataClass bc , BtCollisionObjectDoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_collisionObjectData_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_collisionObjectData_set'_ a1' a2' >>
  return ()

{-# LINE 1673 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#664>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_collisionObjectData_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtCollisionObjectDoubleData))
btRigidBodyDoubleData_m_collisionObjectData_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_collisionObjectData_get'_ a1' >>= \res ->
  mkBtCollisionObjectDoubleData res >>= \res' ->
  return (res')

{-# LINE 1677 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#665>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_invInertiaTensorWorld_set :: ( BtRigidBodyDoubleDataClass bc , BtMatrix3x3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_invInertiaTensorWorld_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_invInertiaTensorWorld_set'_ a1' a2' >>
  return ()

{-# LINE 1681 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#665>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_invInertiaTensorWorld_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtMatrix3x3DoubleData))
btRigidBodyDoubleData_m_invInertiaTensorWorld_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_invInertiaTensorWorld_get'_ a1' >>= \res ->
  mkBtMatrix3x3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1685 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#666>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearVelocity_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_linearVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_linearVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1689 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#666>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearVelocity_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_linearVelocity_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_linearVelocity_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1693 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#667>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularVelocity_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_angularVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_angularVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1697 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#667>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularVelocity_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_angularVelocity_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_angularVelocity_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1701 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#668>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularFactor_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_angularFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_angularFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1705 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#668>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularFactor_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_angularFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_angularFactor_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1709 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#669>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearFactor_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_linearFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_linearFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1713 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#669>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearFactor_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_linearFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_linearFactor_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1717 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#670>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_gravity_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_gravity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_gravity_set'_ a1' a2' >>
  return ()

{-# LINE 1721 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#670>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_gravity_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_gravity_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_gravity_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1725 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#671>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_gravity_acceleration_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_gravity_acceleration_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_gravity_acceleration_set'_ a1' a2' >>
  return ()

{-# LINE 1729 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#671>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_gravity_acceleration_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_gravity_acceleration_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_gravity_acceleration_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1733 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#672>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_invInertiaLocal_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_invInertiaLocal_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_invInertiaLocal_set'_ a1' a2' >>
  return ()

{-# LINE 1737 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#672>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_invInertiaLocal_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_invInertiaLocal_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_invInertiaLocal_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1741 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#673>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_totalForce_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_totalForce_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_totalForce_set'_ a1' a2' >>
  return ()

{-# LINE 1745 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#673>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_totalForce_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_totalForce_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_totalForce_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1749 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#674>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_totalTorque_set :: ( BtRigidBodyDoubleDataClass bc , BtVector3DoubleDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyDoubleData_m_totalTorque_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyDoubleData_m_totalTorque_set'_ a1' a2' >>
  return ()

{-# LINE 1753 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#674>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_totalTorque_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((BtVector3DoubleData))
btRigidBodyDoubleData_m_totalTorque_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_totalTorque_get'_ a1' >>= \res ->
  mkBtVector3DoubleData res >>= \res' ->
  return (res')

{-# LINE 1757 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#675>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_inverseMass_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_inverseMass_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_inverseMass_set'_ a1' a2' >>
  return ()

{-# LINE 1761 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#675>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_inverseMass_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_inverseMass_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_inverseMass_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1765 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#676>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearDamping_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_linearDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_linearDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1769 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#676>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearDamping_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_linearDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_linearDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1773 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#677>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularDamping_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_angularDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_angularDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1777 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#677>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularDamping_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_angularDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_angularDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1781 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#678>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalDampingFactor_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_additionalDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_additionalDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1785 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#678>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalDampingFactor_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_additionalDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_additionalDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1789 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#679>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1793 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#679>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1797 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#680>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1801 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#680>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1805 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#681>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalAngularDampingFactor_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_additionalAngularDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_additionalAngularDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1809 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#681>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalAngularDampingFactor_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_additionalAngularDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_additionalAngularDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1813 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#682>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearSleepingThreshold_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_linearSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_linearSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1817 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#682>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_linearSleepingThreshold_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_linearSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_linearSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1821 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#683>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularSleepingThreshold_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Double) -> IO ()
btRigidBodyDoubleData_m_angularSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyDoubleData_m_angularSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1825 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#683>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_angularSleepingThreshold_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Double))
btRigidBodyDoubleData_m_angularSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_angularSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1829 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#684>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalDamping_set :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> (Int) -> IO ()
btRigidBodyDoubleData_m_additionalDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBodyDoubleData_m_additionalDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1833 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#684>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyDoubleData_m_additionalDamping_get :: ( BtRigidBodyDoubleDataClass bc ) => (bc) -> IO ((Int))
btRigidBodyDoubleData_m_additionalDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyDoubleData_m_additionalDamping_get'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1837 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

-- * btRigidBodyFloatData
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#637>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData :: IO ((BtRigidBodyFloatData))
btRigidBodyFloatData =
  btRigidBodyFloatData'_ >>= \res ->
  mkBtRigidBodyFloatData res >>= \res' ->
  return (res')

{-# LINE 1842 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

btRigidBodyFloatData_free :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ()
btRigidBodyFloatData_free a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_free'_ a1' >>
  return ()

{-# LINE 1843 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#655>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalAngularDampingFactor_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_additionalAngularDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_additionalAngularDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1847 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#655>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalAngularDampingFactor_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_additionalAngularDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_additionalAngularDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1851 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#654>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1855 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#654>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1859 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#658>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalDamping_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Int) -> IO ()
btRigidBodyFloatData_m_additionalDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = fromIntegral a2} in 
  btRigidBodyFloatData_m_additionalDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1863 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#658>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalDamping_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Int))
btRigidBodyFloatData_m_additionalDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_additionalDamping_get'_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 1867 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#652>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalDampingFactor_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_additionalDampingFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_additionalDampingFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1871 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#652>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalDampingFactor_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_additionalDampingFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_additionalDampingFactor_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1875 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#653>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_set'_ a1' a2' >>
  return ()

{-# LINE 1879 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#653>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1883 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#651>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularDamping_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_angularDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_angularDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1887 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#651>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularDamping_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_angularDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_angularDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1891 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#642>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularFactor_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_angularFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_angularFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1895 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#642>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularFactor_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_angularFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_angularFactor_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 1899 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#657>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularSleepingThreshold_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_angularSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_angularSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1903 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#657>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularSleepingThreshold_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_angularSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_angularSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1907 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#641>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularVelocity_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_angularVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_angularVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1911 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#641>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_angularVelocity_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_angularVelocity_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_angularVelocity_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 1915 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#638>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_collisionObjectData_set :: ( BtRigidBodyFloatDataClass bc , BtCollisionObjectFloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_collisionObjectData_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_collisionObjectData_set'_ a1' a2' >>
  return ()

{-# LINE 1919 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#638>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_collisionObjectData_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtCollisionObjectFloatData))
btRigidBodyFloatData_m_collisionObjectData_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_collisionObjectData_get'_ a1' >>= \res ->
  mkBtCollisionObjectFloatData res >>= \res' ->
  return (res')

{-# LINE 1923 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#644>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_gravity_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_gravity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_gravity_set'_ a1' a2' >>
  return ()

{-# LINE 1927 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#644>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_gravity_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_gravity_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_gravity_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 1931 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#645>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_gravity_acceleration_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_gravity_acceleration_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_gravity_acceleration_set'_ a1' a2' >>
  return ()

{-# LINE 1935 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#645>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_gravity_acceleration_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_gravity_acceleration_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_gravity_acceleration_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 1939 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#646>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_invInertiaLocal_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_invInertiaLocal_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_invInertiaLocal_set'_ a1' a2' >>
  return ()

{-# LINE 1943 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#646>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_invInertiaLocal_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_invInertiaLocal_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_invInertiaLocal_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 1947 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#639>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_invInertiaTensorWorld_set :: ( BtRigidBodyFloatDataClass bc , BtMatrix3x3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_invInertiaTensorWorld_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_invInertiaTensorWorld_set'_ a1' a2' >>
  return ()

{-# LINE 1951 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#639>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_invInertiaTensorWorld_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtMatrix3x3FloatData))
btRigidBodyFloatData_m_invInertiaTensorWorld_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_invInertiaTensorWorld_get'_ a1' >>= \res ->
  mkBtMatrix3x3FloatData res >>= \res' ->
  return (res')

{-# LINE 1955 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#649>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_inverseMass_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_inverseMass_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_inverseMass_set'_ a1' a2' >>
  return ()

{-# LINE 1959 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#649>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_inverseMass_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_inverseMass_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_inverseMass_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1963 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#650>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearDamping_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_linearDamping_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_linearDamping_set'_ a1' a2' >>
  return ()

{-# LINE 1967 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#650>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearDamping_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_linearDamping_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_linearDamping_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1971 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#643>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearFactor_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_linearFactor_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_linearFactor_set'_ a1' a2' >>
  return ()

{-# LINE 1975 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#643>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearFactor_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_linearFactor_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_linearFactor_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 1979 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#656>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearSleepingThreshold_set :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> (Float) -> IO ()
btRigidBodyFloatData_m_linearSleepingThreshold_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btRigidBodyFloatData_m_linearSleepingThreshold_set'_ a1' a2' >>
  return ()

{-# LINE 1983 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#656>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearSleepingThreshold_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((Float))
btRigidBodyFloatData_m_linearSleepingThreshold_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_linearSleepingThreshold_get'_ a1' >>= \res ->
  let {res' = realToFrac res} in
  return (res')

{-# LINE 1987 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#640>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearVelocity_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_linearVelocity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_linearVelocity_set'_ a1' a2' >>
  return ()

{-# LINE 1991 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#640>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_linearVelocity_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_linearVelocity_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_linearVelocity_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 1995 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#647>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_totalForce_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_totalForce_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_totalForce_set'_ a1' a2' >>
  return ()

{-# LINE 1999 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#647>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_totalForce_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_totalForce_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_totalForce_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 2003 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#648>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_totalTorque_set :: ( BtRigidBodyFloatDataClass bc , BtVector3FloatDataClass a ) => (bc) -> (a) -> IO ()
btRigidBodyFloatData_m_totalTorque_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btRigidBodyFloatData_m_totalTorque_set'_ a1' a2' >>
  return ()

{-# LINE 2007 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.h?r=2223#648>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btRigidBody.cpp?r=2223>
-}
btRigidBodyFloatData_m_totalTorque_get :: ( BtRigidBodyFloatDataClass bc ) => (bc) -> IO ((BtVector3FloatData))
btRigidBodyFloatData_m_totalTorque_get a1 =
  withBt a1 $ \a1' -> 
  btRigidBodyFloatData_m_totalTorque_get'_ a1' >>= \res ->
  mkBtVector3FloatData res >>= \res' ->
  return (res')

{-# LINE 2011 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

-- * btSimpleDynamicsWorld
{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#46>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld :: ( BtDispatcherClass p0 , BtBroadphaseInterfaceClass p1 , BtConstraintSolverClass p2 , BtCollisionConfigurationClass p3 ) => (p0) -> (p1) -> (p2) -> (p3) -> IO ((BtSimpleDynamicsWorld))
btSimpleDynamicsWorld a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  withBt a3 $ \a3' -> 
  withBt a4 $ \a4' -> 
  btSimpleDynamicsWorld'_ a1' a2' a3' a4' >>= \res ->
  mkBtSimpleDynamicsWorld res >>= \res' ->
  return (res')

{-# LINE 2016 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

btSimpleDynamicsWorld_free :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -> IO ()
btSimpleDynamicsWorld_free a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_free'_ a1' >>
  return ()

{-# LINE 2017 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#35>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_predictUnconstraintMotion :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btSimpleDynamicsWorld_predictUnconstraintMotion a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btSimpleDynamicsWorld_predictUnconstraintMotion'_ a1' a2' >>
  return ()

{-# LINE 2023 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#53>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_setGravity :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Vec3) -- ^ gravity
 -> IO ((Vec3))
btSimpleDynamicsWorld_setGravity a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btSimpleDynamicsWorld_setGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 2029 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#53>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_setGravity' :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btSimpleDynamicsWorld_setGravity' a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btSimpleDynamicsWorld_setGravity''_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 2035 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#65>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_addAction :: ( BtSimpleDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ action
 -> IO ()
btSimpleDynamicsWorld_addAction a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_addAction'_ a1' a2' >>
  return ()

{-# LINE 2041 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#74>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_synchronizeMotionStates :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btSimpleDynamicsWorld_synchronizeMotionStates a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_synchronizeMotionStates'_ a1' >>
  return ()

{-# LINE 2046 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#76>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_setConstraintSolver :: ( BtSimpleDynamicsWorldClass bc , BtConstraintSolverClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ solver
 -> IO ()
btSimpleDynamicsWorld_setConstraintSolver a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_setConstraintSolver'_ a1' a2' >>
  return ()

{-# LINE 2052 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#51>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_stepSimulation :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> (Int) -- ^ maxSubSteps
 -> (Float) -- ^ fixedTimeStep
 -> IO ((Int))
btSimpleDynamicsWorld_stepSimulation a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  let {a3' = fromIntegral a3} in 
  let {a4' = realToFrac a4} in 
  btSimpleDynamicsWorld_stepSimulation'_ a1' a2' a3' a4' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 2060 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#78>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_getConstraintSolver :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((BtConstraintSolver))
btSimpleDynamicsWorld_getConstraintSolver a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_getConstraintSolver'_ a1' >>= \res ->
  mkBtConstraintSolver res >>= \res' ->
  return (res')

{-# LINE 2065 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#61>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_removeRigidBody :: ( BtSimpleDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btSimpleDynamicsWorld_removeRigidBody a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_removeRigidBody'_ a1' a2' >>
  return ()

{-# LINE 2071 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#57>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_addRigidBody :: ( BtSimpleDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btSimpleDynamicsWorld_addRigidBody a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_addRigidBody'_ a1' a2' >>
  return ()

{-# LINE 2077 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#57>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_addRigidBody0 :: ( BtSimpleDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> IO ()
btSimpleDynamicsWorld_addRigidBody0 a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_addRigidBody0'_ a1' a2' >>
  return ()

{-# LINE 2083 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#59>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_addRigidBody1 :: ( BtSimpleDynamicsWorldClass bc , BtRigidBodyClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ body
 -> (Int) -- ^ group
 -> (Int) -- ^ mask
 -> IO ()
btSimpleDynamicsWorld_addRigidBody1 a1 a2 a3 a4 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  let {a3' = fromIntegral a3} in 
  let {a4' = fromIntegral a4} in 
  btSimpleDynamicsWorld_addRigidBody1'_ a1' a2' a3' a4' >>
  return ()

{-# LINE 2091 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#55>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_getGravity :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ((Vec3))
btSimpleDynamicsWorld_getGravity a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btSimpleDynamicsWorld_getGravity'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 2097 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#37>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_integrateTransforms :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> (Float) -- ^ timeStep
 -> IO ()
btSimpleDynamicsWorld_integrateTransforms a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = realToFrac a2} in 
  btSimpleDynamicsWorld_integrateTransforms'_ a1' a2' >>
  return ()

{-# LINE 2103 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#70>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_removeCollisionObject :: ( BtSimpleDynamicsWorldClass bc , BtCollisionObjectClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ collisionObject
 -> IO ()
btSimpleDynamicsWorld_removeCollisionObject a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_removeCollisionObject'_ a1' a2' >>
  return ()

{-# LINE 2109 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#85>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_clearForces :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btSimpleDynamicsWorld_clearForces a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_clearForces'_ a1' >>
  return ()

{-# LINE 2114 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#67>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_removeAction :: ( BtSimpleDynamicsWorldClass bc , BtActionInterfaceClass p0 ) => (bc) -- ^ 
 -> (p0) -- ^ action
 -> IO ()
btSimpleDynamicsWorld_removeAction a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_removeAction'_ a1' a2' >>
  return ()

{-# LINE 2120 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#72>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_updateAabbs :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btSimpleDynamicsWorld_updateAabbs a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_updateAabbs'_ a1' >>
  return ()

{-# LINE 2125 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#63>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_debugDrawWorld :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -- ^ 
 -> IO ()
btSimpleDynamicsWorld_debugDrawWorld a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_debugDrawWorld'_ a1' >>
  return ()

{-# LINE 2130 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#31>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_m_constraintSolver_set :: ( BtSimpleDynamicsWorldClass bc , BtConstraintSolverClass a ) => (bc) -> (a) -> IO ()
btSimpleDynamicsWorld_m_constraintSolver_set a1 a2 =
  withBt a1 $ \a1' -> 
  withBt a2 $ \a2' -> 
  btSimpleDynamicsWorld_m_constraintSolver_set'_ a1' a2' >>
  return ()

{-# LINE 2134 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#31>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_m_constraintSolver_get :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -> IO ((BtConstraintSolver))
btSimpleDynamicsWorld_m_constraintSolver_get a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_m_constraintSolver_get'_ a1' >>= \res ->
  mkBtConstraintSolver res >>= \res' ->
  return (res')

{-# LINE 2138 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#33>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_m_ownsConstraintSolver_set :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -> (Bool) -> IO ()
btSimpleDynamicsWorld_m_ownsConstraintSolver_set a1 a2 =
  withBt a1 $ \a1' -> 
  let {a2' = C2HSImp.fromBool a2} in 
  btSimpleDynamicsWorld_m_ownsConstraintSolver_set'_ a1' a2' >>
  return ()

{-# LINE 2142 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#33>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_m_ownsConstraintSolver_get :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -> IO ((Bool))
btSimpleDynamicsWorld_m_ownsConstraintSolver_get a1 =
  withBt a1 $ \a1' -> 
  btSimpleDynamicsWorld_m_ownsConstraintSolver_get'_ a1' >>= \res ->
  let {res' = C2HSImp.toBool res} in
  return (res')

{-# LINE 2146 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#39>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_m_gravity_set :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -> (Vec3) -> IO ()
btSimpleDynamicsWorld_m_gravity_set a1 a2 =
  withBt a1 $ \a1' -> 
  withVec3 a2 $ \a2' -> 
  btSimpleDynamicsWorld_m_gravity_set'_ a1' a2' >>
  return ()

{-# LINE 2150 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}

{- | <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h?r=2223#39>
     <http://code.google.com/p/bullet/source/browse/trunk/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp?r=2223>
-}
btSimpleDynamicsWorld_m_gravity_get :: ( BtSimpleDynamicsWorldClass bc ) => (bc) -> IO ((Vec3))
btSimpleDynamicsWorld_m_gravity_get a1 =
  withBt a1 $ \a1' -> 
  allocaVec3 $ \a2' -> 
  btSimpleDynamicsWorld_m_gravity_get'_ a1' a2' >>
  peekVec3  a2'>>= \a2'' -> 
  return (a2'')

{-# LINE 2154 "./Physics/Bullet/Raw/BulletDynamics/Dynamics.chs" #-}


foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btActionInterface_getFixedBody"
  btActionInterface_getFixedBody'_ :: (IO (C2HSImp.Ptr ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btActionInterface_updateAction"
  btActionInterface_updateAction'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btActionInterface_debugDraw"
  btActionInterface_debugDraw'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_new"
  btDiscreteDynamicsWorld'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ()))))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_free"
  btDiscreteDynamicsWorld_free'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_setGravity"
  btDiscreteDynamicsWorld_setGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_setGravity"
  btDiscreteDynamicsWorld_setGravity''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addAction"
  btDiscreteDynamicsWorld_addAction'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_applyGravity"
  btDiscreteDynamicsWorld_applyGravity'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_serialize"
  btDiscreteDynamicsWorld_serialize'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getCollisionWorld"
  btDiscreteDynamicsWorld_getCollisionWorld'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addRigidBody0"
  btDiscreteDynamicsWorld_addRigidBody'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addRigidBody0"
  btDiscreteDynamicsWorld_addRigidBody0'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addRigidBody1"
  btDiscreteDynamicsWorld_addRigidBody1'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CShort -> (C2HSImp.CShort -> (IO ())))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_clearForces"
  btDiscreteDynamicsWorld_clearForces'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_removeVehicle"
  btDiscreteDynamicsWorld_removeVehicle'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_serializeRigidBodies"
  btDiscreteDynamicsWorld_serializeRigidBodies'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_internalSingleStepSimulation"
  btDiscreteDynamicsWorld_internalSingleStepSimulation'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getSynchronizeAllMotionStates"
  btDiscreteDynamicsWorld_getSynchronizeAllMotionStates'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_setNumTasks"
  btDiscreteDynamicsWorld_setNumTasks'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_setSynchronizeAllMotionStates"
  btDiscreteDynamicsWorld_setSynchronizeAllMotionStates'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_predictUnconstraintMotion"
  btDiscreteDynamicsWorld_predictUnconstraintMotion'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_removeConstraint"
  btDiscreteDynamicsWorld_removeConstraint'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getNumConstraints"
  btDiscreteDynamicsWorld_getNumConstraints'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addCollisionObject"
  btDiscreteDynamicsWorld_addCollisionObject'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CShort -> (C2HSImp.CShort -> (IO ())))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_removeRigidBody"
  btDiscreteDynamicsWorld_removeRigidBody'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_integrateTransforms"
  btDiscreteDynamicsWorld_integrateTransforms'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_debugDrawConstraint"
  btDiscreteDynamicsWorld_debugDrawConstraint'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_debugDrawWorld"
  btDiscreteDynamicsWorld_debugDrawWorld'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_calculateSimulationIslands"
  btDiscreteDynamicsWorld_calculateSimulationIslands'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addConstraint"
  btDiscreteDynamicsWorld_addConstraint'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_startProfiling"
  btDiscreteDynamicsWorld_startProfiling'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_updateActivationState"
  btDiscreteDynamicsWorld_updateActivationState'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getGravity"
  btDiscreteDynamicsWorld_getGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_removeAction"
  btDiscreteDynamicsWorld_removeAction'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_removeCharacter"
  btDiscreteDynamicsWorld_removeCharacter'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_saveKinematicState"
  btDiscreteDynamicsWorld_saveKinematicState'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getConstraint0"
  btDiscreteDynamicsWorld_getConstraint'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getConstraint0"
  btDiscreteDynamicsWorld_getConstraint0'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getConstraint1"
  btDiscreteDynamicsWorld_getConstraint1'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_getConstraintSolver"
  btDiscreteDynamicsWorld_getConstraintSolver'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addCharacter"
  btDiscreteDynamicsWorld_addCharacter'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_solveConstraints"
  btDiscreteDynamicsWorld_solveConstraints'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_updateActions"
  btDiscreteDynamicsWorld_updateActions'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_updateVehicles"
  btDiscreteDynamicsWorld_updateVehicles'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_synchronizeSingleMotionState"
  btDiscreteDynamicsWorld_synchronizeSingleMotionState'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_addVehicle"
  btDiscreteDynamicsWorld_addVehicle'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_synchronizeMotionStates"
  btDiscreteDynamicsWorld_synchronizeMotionStates'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_stepSimulation"
  btDiscreteDynamicsWorld_stepSimulation'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (C2HSImp.CInt -> (C2HSImp.CFloat -> (IO C2HSImp.CInt)))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_removeCollisionObject"
  btDiscreteDynamicsWorld_removeCollisionObject'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_setConstraintSolver"
  btDiscreteDynamicsWorld_setConstraintSolver'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_constraintSolver_set"
  btDiscreteDynamicsWorld_m_constraintSolver_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_constraintSolver_get"
  btDiscreteDynamicsWorld_m_constraintSolver_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_constraints_set"
  btDiscreteDynamicsWorld_m_constraints_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_constraints_get"
  btDiscreteDynamicsWorld_m_constraints_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_nonStaticRigidBodies_set"
  btDiscreteDynamicsWorld_m_nonStaticRigidBodies_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_nonStaticRigidBodies_get"
  btDiscreteDynamicsWorld_m_nonStaticRigidBodies_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_gravity_set"
  btDiscreteDynamicsWorld_m_gravity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_gravity_get"
  btDiscreteDynamicsWorld_m_gravity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_localTime_set"
  btDiscreteDynamicsWorld_m_localTime_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_localTime_get"
  btDiscreteDynamicsWorld_m_localTime_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_ownsIslandManager_set"
  btDiscreteDynamicsWorld_m_ownsIslandManager_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_ownsIslandManager_get"
  btDiscreteDynamicsWorld_m_ownsIslandManager_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_ownsConstraintSolver_set"
  btDiscreteDynamicsWorld_m_ownsConstraintSolver_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_ownsConstraintSolver_get"
  btDiscreteDynamicsWorld_m_ownsConstraintSolver_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_set"
  btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_get"
  btDiscreteDynamicsWorld_m_synchronizeAllMotionStates_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_actions_set"
  btDiscreteDynamicsWorld_m_actions_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_actions_get"
  btDiscreteDynamicsWorld_m_actions_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_profileTimings_set"
  btDiscreteDynamicsWorld_m_profileTimings_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDiscreteDynamicsWorld_m_profileTimings_get"
  btDiscreteDynamicsWorld_m_profileTimings_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_setGravity"
  btDynamicsWorld_setGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_setGravity"
  btDynamicsWorld_setGravity''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_addAction"
  btDynamicsWorld_addAction'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getSolverInfo"
  btDynamicsWorld_getSolverInfo'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_addRigidBody0"
  btDynamicsWorld_addRigidBody'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_addRigidBody0"
  btDynamicsWorld_addRigidBody0'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_addRigidBody1"
  btDynamicsWorld_addRigidBody1'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CShort -> (C2HSImp.CShort -> (IO ())))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_clearForces"
  btDynamicsWorld_clearForces'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_removeVehicle"
  btDynamicsWorld_removeVehicle'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_removeConstraint"
  btDynamicsWorld_removeConstraint'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getNumConstraints"
  btDynamicsWorld_getNumConstraints'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_removeRigidBody"
  btDynamicsWorld_removeRigidBody'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_synchronizeMotionStates"
  btDynamicsWorld_synchronizeMotionStates'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_addConstraint"
  btDynamicsWorld_addConstraint'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getGravity"
  btDynamicsWorld_getGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_debugDrawWorld"
  btDynamicsWorld_debugDrawWorld'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_removeAction"
  btDynamicsWorld_removeAction'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_setWorldUserInfo"
  btDynamicsWorld_setWorldUserInfo'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_removeCharacter"
  btDynamicsWorld_removeCharacter'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getConstraint0"
  btDynamicsWorld_getConstraint'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getConstraint0"
  btDynamicsWorld_getConstraint0'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getConstraint1"
  btDynamicsWorld_getConstraint1'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getConstraintSolver"
  btDynamicsWorld_getConstraintSolver'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_stepSimulation"
  btDynamicsWorld_stepSimulation'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (C2HSImp.CInt -> (C2HSImp.CFloat -> (IO C2HSImp.CInt)))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_addCharacter"
  btDynamicsWorld_addCharacter'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_addVehicle"
  btDynamicsWorld_addVehicle'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_getWorldUserInfo"
  btDynamicsWorld_getWorldUserInfo'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_setConstraintSolver"
  btDynamicsWorld_setConstraintSolver'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_m_worldUserInfo_set"
  btDynamicsWorld_m_worldUserInfo_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_m_worldUserInfo_get"
  btDynamicsWorld_m_worldUserInfo_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_m_solverInfo_set"
  btDynamicsWorld_m_solverInfo_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btDynamicsWorld_m_solverInfo_get"
  btDynamicsWorld_m_solverInfo_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_new0"
  btRigidBody0'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_new1"
  btRigidBody1'_ :: (C2HSImp.CFloat -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO (C2HSImp.Ptr ()))))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_free"
  btRigidBody_free'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setGravity"
  btRigidBody_setGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setGravity"
  btRigidBody_setGravity''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_updateDeactivation"
  btRigidBody_updateDeactivation'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setAngularFactor0"
  btRigidBody_setAngularFactor'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setAngularFactor0"
  btRigidBody_setAngularFactor''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setAngularFactor0"
  btRigidBody_setAngularFactor0'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setAngularFactor0"
  btRigidBody_setAngularFactor0''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setAngularFactor1"
  btRigidBody_setAngularFactor1'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalWritebackVelocity0"
  btRigidBody_internalWritebackVelocity'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalWritebackVelocity0"
  btRigidBody_internalWritebackVelocity0'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalWritebackVelocity1"
  btRigidBody_internalWritebackVelocity1'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getPushVelocity"
  btRigidBody_getPushVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetDeltaAngularVelocity"
  btRigidBody_internalGetDeltaAngularVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyGravity"
  btRigidBody_applyGravity'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_serialize"
  btRigidBody_serialize'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr C2HSImp.CChar)))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getOrientation"
  btRigidBody_getOrientation'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyCentralForce"
  btRigidBody_applyCentralForce'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyCentralForce"
  btRigidBody_applyCentralForce''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setMotionState"
  btRigidBody_setMotionState'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_clearForces"
  btRigidBody_clearForces'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getMotionState0"
  btRigidBody_getMotionState'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getMotionState0"
  btRigidBody_getMotionState0'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getMotionState1"
  btRigidBody_getMotionState1'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setDamping"
  btRigidBody_setDamping'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (C2HSImp.CFloat -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyImpulse"
  btRigidBody_applyImpulse'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyImpulse"
  btRigidBody_applyImpulse''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyTorque"
  btRigidBody_applyTorque'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyTorque"
  btRigidBody_applyTorque''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalApplyPushImpulse"
  btRigidBody_internalApplyPushImpulse'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (C2HSImp.CFloat -> (IO ())))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalApplyPushImpulse"
  btRigidBody_internalApplyPushImpulse''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (C2HSImp.CFloat -> (IO ())))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_wantsSleeping"
  btRigidBody_wantsSleeping'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setNewBroadphaseProxy"
  btRigidBody_setNewBroadphaseProxy'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getVelocityInLocalPoint"
  btRigidBody_getVelocityInLocalPoint'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getVelocityInLocalPoint"
  btRigidBody_getVelocityInLocalPoint''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_calculateSerializeBufferSize"
  btRigidBody_calculateSerializeBufferSize'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setAngularVelocity"
  btRigidBody_setAngularVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setAngularVelocity"
  btRigidBody_setAngularVelocity''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getLinearFactor"
  btRigidBody_getLinearFactor'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_predictIntegratedTransform"
  btRigidBody_predictIntegratedTransform'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_predictIntegratedTransform"
  btRigidBody_predictIntegratedTransform''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetAngularFactor"
  btRigidBody_internalGetAngularFactor'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getAngularSleepingThreshold"
  btRigidBody_getAngularSleepingThreshold'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyDamping"
  btRigidBody_applyDamping'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_saveKinematicState"
  btRigidBody_saveKinematicState'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setSleepingThresholds"
  btRigidBody_setSleepingThresholds'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (C2HSImp.CFloat -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getAngularVelocity"
  btRigidBody_getAngularVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getLinearSleepingThreshold"
  btRigidBody_getLinearSleepingThreshold'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetInvMass"
  btRigidBody_internalGetInvMass'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyTorqueImpulse"
  btRigidBody_applyTorqueImpulse'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyTorqueImpulse"
  btRigidBody_applyTorqueImpulse''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetPushVelocity"
  btRigidBody_internalGetPushVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setLinearFactor"
  btRigidBody_setLinearFactor'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setLinearFactor"
  btRigidBody_setLinearFactor''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_serializeSingleObject"
  btRigidBody_serializeSingleObject'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getInvMass"
  btRigidBody_getInvMass'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getTotalForce"
  btRigidBody_getTotalForce'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getCenterOfMassPosition"
  btRigidBody_getCenterOfMassPosition'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getAabb"
  btRigidBody_getAabb'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getAabb"
  btRigidBody_getAabb''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getBroadphaseProxy0"
  btRigidBody_getBroadphaseProxy'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getBroadphaseProxy0"
  btRigidBody_getBroadphaseProxy0'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getBroadphaseProxy1"
  btRigidBody_getBroadphaseProxy1'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getCollisionShape0"
  btRigidBody_getCollisionShape'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getCollisionShape0"
  btRigidBody_getCollisionShape0'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getCollisionShape1"
  btRigidBody_getCollisionShape1'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_upcast0"
  btRigidBody_upcast'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_upcast0"
  btRigidBody_upcast0'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_upcast1"
  btRigidBody_upcast1'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_checkCollideWithOverride"
  btRigidBody_checkCollideWithOverride'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt)))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_translate"
  btRigidBody_translate'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_translate"
  btRigidBody_translate''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_updateInertiaTensor"
  btRigidBody_updateInertiaTensor'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyForce"
  btRigidBody_applyForce'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyForce"
  btRigidBody_applyForce''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetAngularVelocity"
  btRigidBody_internalGetAngularVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetAngularVelocity"
  btRigidBody_internalGetAngularVelocity''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setupRigidBody"
  btRigidBody_setupRigidBody'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyCentralImpulse"
  btRigidBody_applyCentralImpulse'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_applyCentralImpulse"
  btRigidBody_applyCentralImpulse''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getTurnVelocity"
  btRigidBody_getTurnVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getDeltaLinearVelocity"
  btRigidBody_getDeltaLinearVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_integrateVelocities"
  btRigidBody_integrateVelocities'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getGravity"
  btRigidBody_getGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setMassProps"
  btRigidBody_setMassProps'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setMassProps"
  btRigidBody_setMassProps''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setCenterOfMassTransform"
  btRigidBody_setCenterOfMassTransform'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setCenterOfMassTransform"
  btRigidBody_setCenterOfMassTransform''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setFlags"
  btRigidBody_setFlags'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_addConstraintRef"
  btRigidBody_addConstraintRef'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setLinearVelocity"
  btRigidBody_setLinearVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setLinearVelocity"
  btRigidBody_setLinearVelocity''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_isInWorld"
  btRigidBody_isInWorld'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getTotalTorque"
  btRigidBody_getTotalTorque'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getNumConstraintRefs"
  btRigidBody_getNumConstraintRefs'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_computeAngularImpulseDenominator"
  btRigidBody_computeAngularImpulseDenominator'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO C2HSImp.CFloat)))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_computeAngularImpulseDenominator"
  btRigidBody_computeAngularImpulseDenominator''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO C2HSImp.CFloat)))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getInvInertiaTensorWorld"
  btRigidBody_getInvInertiaTensorWorld'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getDeltaAngularVelocity"
  btRigidBody_getDeltaAngularVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetDeltaLinearVelocity"
  btRigidBody_internalGetDeltaLinearVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_computeImpulseDenominator"
  btRigidBody_computeImpulseDenominator'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO C2HSImp.CFloat))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_computeImpulseDenominator"
  btRigidBody_computeImpulseDenominator''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO C2HSImp.CFloat))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getConstraintRef"
  btRigidBody_getConstraintRef'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getAngularDamping"
  btRigidBody_getAngularDamping'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetTurnVelocity"
  btRigidBody_internalGetTurnVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_proceedToTransform"
  btRigidBody_proceedToTransform'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_proceedToTransform"
  btRigidBody_proceedToTransform''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setInvInertiaDiagLocal"
  btRigidBody_setInvInertiaDiagLocal'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_setInvInertiaDiagLocal"
  btRigidBody_setInvInertiaDiagLocal''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getInvInertiaDiagLocal"
  btRigidBody_getInvInertiaDiagLocal'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getCenterOfMassTransform"
  btRigidBody_getCenterOfMassTransform'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_removeConstraintRef"
  btRigidBody_removeConstraintRef'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getAngularFactor"
  btRigidBody_getAngularFactor'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getLinearVelocity"
  btRigidBody_getLinearVelocity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getFlags"
  btRigidBody_getFlags'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetVelocityInLocalPointObsolete"
  btRigidBody_internalGetVelocityInLocalPointObsolete'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_internalGetVelocityInLocalPointObsolete"
  btRigidBody_internalGetVelocityInLocalPointObsolete''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ()))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_getLinearDamping"
  btRigidBody_getLinearDamping'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalAngularDampingFactor_set"
  btRigidBody_m_additionalAngularDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalAngularDampingFactor_get"
  btRigidBody_m_additionalAngularDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalAngularDampingThresholdSqr_set"
  btRigidBody_m_additionalAngularDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalAngularDampingThresholdSqr_get"
  btRigidBody_m_additionalAngularDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalDamping_set"
  btRigidBody_m_additionalDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalDamping_get"
  btRigidBody_m_additionalDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalDampingFactor_set"
  btRigidBody_m_additionalDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalDampingFactor_get"
  btRigidBody_m_additionalDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalLinearDampingThresholdSqr_set"
  btRigidBody_m_additionalLinearDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_additionalLinearDampingThresholdSqr_get"
  btRigidBody_m_additionalLinearDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularDamping_set"
  btRigidBody_m_angularDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularDamping_get"
  btRigidBody_m_angularDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularFactor_set"
  btRigidBody_m_angularFactor_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularFactor_get"
  btRigidBody_m_angularFactor_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularSleepingThreshold_set"
  btRigidBody_m_angularSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularSleepingThreshold_get"
  btRigidBody_m_angularSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularVelocity_set"
  btRigidBody_m_angularVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_angularVelocity_get"
  btRigidBody_m_angularVelocity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_constraintRefs_set"
  btRigidBody_m_constraintRefs_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_constraintRefs_get"
  btRigidBody_m_constraintRefs_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_contactSolverType_set"
  btRigidBody_m_contactSolverType_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_contactSolverType_get"
  btRigidBody_m_contactSolverType_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_debugBodyId_set"
  btRigidBody_m_debugBodyId_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_debugBodyId_get"
  btRigidBody_m_debugBodyId_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_deltaAngularVelocity_set"
  btRigidBody_m_deltaAngularVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_deltaAngularVelocity_get"
  btRigidBody_m_deltaAngularVelocity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_deltaLinearVelocity_set"
  btRigidBody_m_deltaLinearVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_deltaLinearVelocity_get"
  btRigidBody_m_deltaLinearVelocity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_frictionSolverType_set"
  btRigidBody_m_frictionSolverType_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_frictionSolverType_get"
  btRigidBody_m_frictionSolverType_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_gravity_set"
  btRigidBody_m_gravity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_gravity_get"
  btRigidBody_m_gravity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_gravity_acceleration_set"
  btRigidBody_m_gravity_acceleration_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_gravity_acceleration_get"
  btRigidBody_m_gravity_acceleration_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_invInertiaLocal_set"
  btRigidBody_m_invInertiaLocal_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_invInertiaLocal_get"
  btRigidBody_m_invInertiaLocal_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_invInertiaTensorWorld_set"
  btRigidBody_m_invInertiaTensorWorld_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_invInertiaTensorWorld_get"
  btRigidBody_m_invInertiaTensorWorld_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_invMass_set"
  btRigidBody_m_invMass_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_invMass_get"
  btRigidBody_m_invMass_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_inverseMass_set"
  btRigidBody_m_inverseMass_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_inverseMass_get"
  btRigidBody_m_inverseMass_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearDamping_set"
  btRigidBody_m_linearDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearDamping_get"
  btRigidBody_m_linearDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearFactor_set"
  btRigidBody_m_linearFactor_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearFactor_get"
  btRigidBody_m_linearFactor_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearSleepingThreshold_set"
  btRigidBody_m_linearSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearSleepingThreshold_get"
  btRigidBody_m_linearSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearVelocity_set"
  btRigidBody_m_linearVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_linearVelocity_get"
  btRigidBody_m_linearVelocity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_optionalMotionState_set"
  btRigidBody_m_optionalMotionState_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_optionalMotionState_get"
  btRigidBody_m_optionalMotionState_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_pushVelocity_set"
  btRigidBody_m_pushVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_pushVelocity_get"
  btRigidBody_m_pushVelocity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_rigidbodyFlags_set"
  btRigidBody_m_rigidbodyFlags_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_rigidbodyFlags_get"
  btRigidBody_m_rigidbodyFlags_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_totalForce_set"
  btRigidBody_m_totalForce_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_totalForce_get"
  btRigidBody_m_totalForce_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_totalTorque_set"
  btRigidBody_m_totalTorque_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_totalTorque_get"
  btRigidBody_m_totalTorque_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_turnVelocity_set"
  btRigidBody_m_turnVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_m_turnVelocity_get"
  btRigidBody_m_turnVelocity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_new"
  btRigidBody_btRigidBodyConstructionInfo'_ :: (C2HSImp.CFloat -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO (C2HSImp.Ptr ()))))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_free"
  btRigidBody_btRigidBodyConstructionInfo_free'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_set"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_get"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_set"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_get"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalAngularDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_set"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_get"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_set"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_get"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_set"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_get"
  btRigidBody_btRigidBodyConstructionInfo_m_additionalLinearDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_set"
  btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_get"
  btRigidBody_btRigidBodyConstructionInfo_m_angularDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_set"
  btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_get"
  btRigidBody_btRigidBodyConstructionInfo_m_angularSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_set"
  btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_get"
  btRigidBody_btRigidBodyConstructionInfo_m_collisionShape_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_friction_set"
  btRigidBody_btRigidBodyConstructionInfo_m_friction_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_friction_get"
  btRigidBody_btRigidBodyConstructionInfo_m_friction_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_set"
  btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_get"
  btRigidBody_btRigidBodyConstructionInfo_m_linearDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_set"
  btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_get"
  btRigidBody_btRigidBodyConstructionInfo_m_linearSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_localInertia_set"
  btRigidBody_btRigidBodyConstructionInfo_m_localInertia_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_localInertia_get"
  btRigidBody_btRigidBodyConstructionInfo_m_localInertia_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_mass_set"
  btRigidBody_btRigidBodyConstructionInfo_m_mass_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_mass_get"
  btRigidBody_btRigidBodyConstructionInfo_m_mass_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_motionState_set"
  btRigidBody_btRigidBodyConstructionInfo_m_motionState_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_motionState_get"
  btRigidBody_btRigidBodyConstructionInfo_m_motionState_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_restitution_set"
  btRigidBody_btRigidBodyConstructionInfo_m_restitution_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_restitution_get"
  btRigidBody_btRigidBodyConstructionInfo_m_restitution_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_set"
  btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_get"
  btRigidBody_btRigidBodyConstructionInfo_m_startWorldTransform_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_new"
  btRigidBodyDoubleData'_ :: (IO (C2HSImp.Ptr ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_free"
  btRigidBodyDoubleData_free'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_collisionObjectData_set"
  btRigidBodyDoubleData_m_collisionObjectData_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_collisionObjectData_get"
  btRigidBodyDoubleData_m_collisionObjectData_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_invInertiaTensorWorld_set"
  btRigidBodyDoubleData_m_invInertiaTensorWorld_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_invInertiaTensorWorld_get"
  btRigidBodyDoubleData_m_invInertiaTensorWorld_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearVelocity_set"
  btRigidBodyDoubleData_m_linearVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearVelocity_get"
  btRigidBodyDoubleData_m_linearVelocity_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularVelocity_set"
  btRigidBodyDoubleData_m_angularVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularVelocity_get"
  btRigidBodyDoubleData_m_angularVelocity_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularFactor_set"
  btRigidBodyDoubleData_m_angularFactor_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularFactor_get"
  btRigidBodyDoubleData_m_angularFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearFactor_set"
  btRigidBodyDoubleData_m_linearFactor_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearFactor_get"
  btRigidBodyDoubleData_m_linearFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_gravity_set"
  btRigidBodyDoubleData_m_gravity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_gravity_get"
  btRigidBodyDoubleData_m_gravity_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_gravity_acceleration_set"
  btRigidBodyDoubleData_m_gravity_acceleration_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_gravity_acceleration_get"
  btRigidBodyDoubleData_m_gravity_acceleration_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_invInertiaLocal_set"
  btRigidBodyDoubleData_m_invInertiaLocal_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_invInertiaLocal_get"
  btRigidBodyDoubleData_m_invInertiaLocal_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_totalForce_set"
  btRigidBodyDoubleData_m_totalForce_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_totalForce_get"
  btRigidBodyDoubleData_m_totalForce_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_totalTorque_set"
  btRigidBodyDoubleData_m_totalTorque_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_totalTorque_get"
  btRigidBodyDoubleData_m_totalTorque_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_inverseMass_set"
  btRigidBodyDoubleData_m_inverseMass_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_inverseMass_get"
  btRigidBodyDoubleData_m_inverseMass_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearDamping_set"
  btRigidBodyDoubleData_m_linearDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearDamping_get"
  btRigidBodyDoubleData_m_linearDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularDamping_set"
  btRigidBodyDoubleData_m_angularDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularDamping_get"
  btRigidBodyDoubleData_m_angularDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalDampingFactor_set"
  btRigidBodyDoubleData_m_additionalDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalDampingFactor_get"
  btRigidBodyDoubleData_m_additionalDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_set"
  btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_get"
  btRigidBodyDoubleData_m_additionalLinearDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_set"
  btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_get"
  btRigidBodyDoubleData_m_additionalAngularDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalAngularDampingFactor_set"
  btRigidBodyDoubleData_m_additionalAngularDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalAngularDampingFactor_get"
  btRigidBodyDoubleData_m_additionalAngularDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearSleepingThreshold_set"
  btRigidBodyDoubleData_m_linearSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_linearSleepingThreshold_get"
  btRigidBodyDoubleData_m_linearSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularSleepingThreshold_set"
  btRigidBodyDoubleData_m_angularSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_angularSleepingThreshold_get"
  btRigidBodyDoubleData_m_angularSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalDamping_set"
  btRigidBodyDoubleData_m_additionalDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyDoubleData_m_additionalDamping_get"
  btRigidBodyDoubleData_m_additionalDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_new"
  btRigidBodyFloatData'_ :: (IO (C2HSImp.Ptr ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_free"
  btRigidBodyFloatData_free'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalAngularDampingFactor_set"
  btRigidBodyFloatData_m_additionalAngularDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalAngularDampingFactor_get"
  btRigidBodyFloatData_m_additionalAngularDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_set"
  btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_get"
  btRigidBodyFloatData_m_additionalAngularDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalDamping_set"
  btRigidBodyFloatData_m_additionalDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalDamping_get"
  btRigidBodyFloatData_m_additionalDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalDampingFactor_set"
  btRigidBodyFloatData_m_additionalDampingFactor_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalDampingFactor_get"
  btRigidBodyFloatData_m_additionalDampingFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_set"
  btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_get"
  btRigidBodyFloatData_m_additionalLinearDampingThresholdSqr_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularDamping_set"
  btRigidBodyFloatData_m_angularDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularDamping_get"
  btRigidBodyFloatData_m_angularDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularFactor_set"
  btRigidBodyFloatData_m_angularFactor_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularFactor_get"
  btRigidBodyFloatData_m_angularFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularSleepingThreshold_set"
  btRigidBodyFloatData_m_angularSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularSleepingThreshold_get"
  btRigidBodyFloatData_m_angularSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularVelocity_set"
  btRigidBodyFloatData_m_angularVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_angularVelocity_get"
  btRigidBodyFloatData_m_angularVelocity_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_collisionObjectData_set"
  btRigidBodyFloatData_m_collisionObjectData_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_collisionObjectData_get"
  btRigidBodyFloatData_m_collisionObjectData_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_gravity_set"
  btRigidBodyFloatData_m_gravity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_gravity_get"
  btRigidBodyFloatData_m_gravity_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_gravity_acceleration_set"
  btRigidBodyFloatData_m_gravity_acceleration_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_gravity_acceleration_get"
  btRigidBodyFloatData_m_gravity_acceleration_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_invInertiaLocal_set"
  btRigidBodyFloatData_m_invInertiaLocal_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_invInertiaLocal_get"
  btRigidBodyFloatData_m_invInertiaLocal_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_invInertiaTensorWorld_set"
  btRigidBodyFloatData_m_invInertiaTensorWorld_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_invInertiaTensorWorld_get"
  btRigidBodyFloatData_m_invInertiaTensorWorld_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_inverseMass_set"
  btRigidBodyFloatData_m_inverseMass_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_inverseMass_get"
  btRigidBodyFloatData_m_inverseMass_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearDamping_set"
  btRigidBodyFloatData_m_linearDamping_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearDamping_get"
  btRigidBodyFloatData_m_linearDamping_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearFactor_set"
  btRigidBodyFloatData_m_linearFactor_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearFactor_get"
  btRigidBodyFloatData_m_linearFactor_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearSleepingThreshold_set"
  btRigidBodyFloatData_m_linearSleepingThreshold_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearSleepingThreshold_get"
  btRigidBodyFloatData_m_linearSleepingThreshold_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearVelocity_set"
  btRigidBodyFloatData_m_linearVelocity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_linearVelocity_get"
  btRigidBodyFloatData_m_linearVelocity_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_totalForce_set"
  btRigidBodyFloatData_m_totalForce_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_totalForce_get"
  btRigidBodyFloatData_m_totalForce_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_totalTorque_set"
  btRigidBodyFloatData_m_totalTorque_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btRigidBodyFloatData_m_totalTorque_get"
  btRigidBodyFloatData_m_totalTorque_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_new"
  btSimpleDynamicsWorld'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ()))))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_free"
  btSimpleDynamicsWorld_free'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_predictUnconstraintMotion"
  btSimpleDynamicsWorld_predictUnconstraintMotion'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_setGravity"
  btSimpleDynamicsWorld_setGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_setGravity"
  btSimpleDynamicsWorld_setGravity''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_addAction"
  btSimpleDynamicsWorld_addAction'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_synchronizeMotionStates"
  btSimpleDynamicsWorld_synchronizeMotionStates'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_setConstraintSolver"
  btSimpleDynamicsWorld_setConstraintSolver'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_stepSimulation"
  btSimpleDynamicsWorld_stepSimulation'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (C2HSImp.CInt -> (C2HSImp.CFloat -> (IO C2HSImp.CInt)))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_getConstraintSolver"
  btSimpleDynamicsWorld_getConstraintSolver'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_removeRigidBody"
  btSimpleDynamicsWorld_removeRigidBody'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_addRigidBody0"
  btSimpleDynamicsWorld_addRigidBody'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_addRigidBody0"
  btSimpleDynamicsWorld_addRigidBody0'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_addRigidBody1"
  btSimpleDynamicsWorld_addRigidBody1'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CShort -> (C2HSImp.CShort -> (IO ())))))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_getGravity"
  btSimpleDynamicsWorld_getGravity'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_integrateTransforms"
  btSimpleDynamicsWorld_integrateTransforms'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CFloat -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_removeCollisionObject"
  btSimpleDynamicsWorld_removeCollisionObject'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_clearForces"
  btSimpleDynamicsWorld_clearForces'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_removeAction"
  btSimpleDynamicsWorld_removeAction'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_updateAabbs"
  btSimpleDynamicsWorld_updateAabbs'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_debugDrawWorld"
  btSimpleDynamicsWorld_debugDrawWorld'_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_m_constraintSolver_set"
  btSimpleDynamicsWorld_m_constraintSolver_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_m_constraintSolver_get"
  btSimpleDynamicsWorld_m_constraintSolver_get'_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_m_ownsConstraintSolver_set"
  btSimpleDynamicsWorld_m_ownsConstraintSolver_set'_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_m_ownsConstraintSolver_get"
  btSimpleDynamicsWorld_m_ownsConstraintSolver_get'_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_m_gravity_set"
  btSimpleDynamicsWorld_m_gravity_set'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))

foreign import ccall safe "Physics/Bullet/Raw/BulletDynamics/Dynamics.chs.h btSimpleDynamicsWorld_m_gravity_get"
  btSimpleDynamicsWorld_m_gravity_get'_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CFloat) -> (IO ())))