module HGamer3D.Bindings.Bullet.ClassHG3DBulletDefaultCreator where
import Foreign
import Foreign.Ptr
import Foreign.C
import HGamer3D.Data.HG3DClass
import HGamer3D.Data.Vector
import HGamer3D.Data.Colour
import HGamer3D.Data.Angle
import HGamer3D.Bindings.Bullet.Utils
import HGamer3D.Bindings.Bullet.ClassPtr
import HGamer3D.Bindings.Bullet.StructHG3DClass
new :: IO (HG3DClass)
new =
alloca $ \a1' ->
new'_ a1' >>= \res ->
peek a1'>>= \a1'' ->
return (a1'')
delete :: HG3DClass -> IO ()
delete a1 =
withHG3DClass a1 $ \a1' ->
delete'_ a1' >>= \res ->
return ()
initializeDefaults :: HG3DClass -> IO ()
initializeDefaults a1 =
withHG3DClass a1 $ \a1' ->
initializeDefaults'_ a1' >>= \res ->
return ()
getDynamicsWorld :: HG3DClass -> IO (HG3DClass)
getDynamicsWorld a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getDynamicsWorld'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
getCollisionDispatcher :: HG3DClass -> IO (HG3DClass)
getCollisionDispatcher a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getCollisionDispatcher'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
foreign import ccall safe "HGamer3D\\Bindings\\Bullet\\ClassHG3DBulletDefaultCreator.chs.h bt_hgdfcr_construct"
new'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Bullet\\ClassHG3DBulletDefaultCreator.chs.h bt_hgdfcr_destruct"
delete'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Bullet\\ClassHG3DBulletDefaultCreator.chs.h bt_hgdfcr_initializeDefaults"
initializeDefaults'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Bullet\\ClassHG3DBulletDefaultCreator.chs.h bt_hgdfcr_getDynamicsWorld"
getDynamicsWorld'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Bullet\\ClassHG3DBulletDefaultCreator.chs.h bt_hgdfcr_getCollisionDispatcher"
getCollisionDispatcher'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))