module HGamer3D.Bindings.Ogre.ClassTimeIndex 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.Ogre.Utils
import HGamer3D.Bindings.Ogre.ClassPtr
import HGamer3D.Bindings.Ogre.StructHG3DClass
new :: Float -> IO (HG3DClass)
new a1 =
let {a1' = realToFrac a1} in
alloca $ \a2' ->
new'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
hasKeyIndex :: HG3DClass -> IO (Bool)
hasKeyIndex a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
hasKeyIndex'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
getTimePos :: HG3DClass -> IO (Float)
getTimePos a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getTimePos'_ a1' a2' >>= \res ->
peekFloatConv a2'>>= \a2'' ->
return (a2'')
getKeyIndex :: HG3DClass -> IO (Int)
getKeyIndex a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
getKeyIndex'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassTimeIndex.chs.h ogre_tnx_construct"
new'_ :: (CFloat -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassTimeIndex.chs.h ogre_tnx_hasKeyIndex"
hasKeyIndex'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassTimeIndex.chs.h ogre_tnx_getTimePos"
getTimePos'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassTimeIndex.chs.h ogre_tnx_getKeyIndex"
getKeyIndex'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ())))