-- GENERATED by C->Haskell Compiler, version 0.16.3 Crystal Seed, 24 Jan 2009 (Haskell) -- Edit the ORIGNAL .chs file instead! {-# LINE 1 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-}{-# LANGUAGE ForeignFunctionInterface #-} {-# LANGUAGE TypeSynonymInstances #-} -- This source file is part of HGamer3D -- (A project to enable 3D game development in Haskell) -- For the latest info, see http://www.althainz.de/HGamer3D.html -- -- Copyright 2011 Dr. Peter Althainz -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- ClassNode.chs -- -- -- -- -- File for type, method, enum or function stubs -- in: "..\OgreSDK_vc10_v1-7-3\include\OGRE\OgreNode.h" -- -- each stub combines the following files: -- a C++ implementation file, transforming cpp calls into C-functions -- a C-header file, making this C-functions available for the C2HS parser -- a chs file, give instructions to the C2HS parser. -- -- module HGamer3D.Bindings.Ogre.ClassNode where import C2HS import Foreign import Foreign.Ptr import Foreign.C import Monad (liftM, liftM2) import HGamer3D.Data.HG3DClass import HGamer3D.Data.Vector2 import HGamer3D.Data.Vector3 import HGamer3D.Data.Vector4 import HGamer3D.Data.Quaternion import HGamer3D.Data.ColourValue import HGamer3D.Data.Radian import HGamer3D.Data.Degree import HGamer3D.Data.Angle import HGamer3D.Bindings.Ogre.TypeHG3DClass {-# LINE 54 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.ClassPtr {-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.Utils {-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.TypeQuaternion {-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.TypeVector3 {-# LINE 58 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.EnumTransformSpace {-# LINE 59 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.TypeRadian {-# LINE 60 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} cNGetName :: HG3DClass -> IO (String) cNGetName a1 = withHG3DClass a1 $ \a1' -> alloc64k $ \a2' -> cNGetName'_ a1' a2' >>= \res -> peekCString a2'>>= \a2'' -> return (a2'') {-# LINE 66 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetParent :: HG3DClass -> IO (HG3DClass) cNGetParent a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetParent'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 70 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetOrientation :: HG3DClass -> IO (Quaternion) cNGetOrientation a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetOrientation'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 74 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetOrientation :: HG3DClass -> Quaternion -> IO () cNSetOrientation a1 a2 = withHG3DClass a1 $ \a1' -> withQuaternion a2 $ \a2' -> cNSetOrientation'_ a1' a2' >>= \res -> return () {-# LINE 78 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetOrientation2 :: HG3DClass -> Float -> Float -> Float -> Float -> IO () cNSetOrientation2 a1 a2 a3 a4 a5 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in let {a5' = realToFrac a5} in cNSetOrientation2'_ a1' a2' a3' a4' a5' >>= \res -> return () {-# LINE 85 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNResetOrientation :: HG3DClass -> IO () cNResetOrientation a1 = withHG3DClass a1 $ \a1' -> cNResetOrientation'_ a1' >>= \res -> return () {-# LINE 88 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetPosition :: HG3DClass -> Vector3 -> IO () cNSetPosition a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNSetPosition'_ a1' a2' >>= \res -> return () {-# LINE 92 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetPosition2 :: HG3DClass -> Float -> Float -> Float -> IO () cNSetPosition2 a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in cNSetPosition2'_ a1' a2' a3' a4' >>= \res -> return () {-# LINE 98 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetPosition :: HG3DClass -> IO (Vector3) cNGetPosition a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetPosition'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 102 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetScale :: HG3DClass -> Vector3 -> IO () cNSetScale a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNSetScale'_ a1' a2' >>= \res -> return () {-# LINE 106 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetScale2 :: HG3DClass -> Float -> Float -> Float -> IO () cNSetScale2 a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in cNSetScale2'_ a1' a2' a3' a4' >>= \res -> return () {-# LINE 112 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetScale :: HG3DClass -> IO (Vector3) cNGetScale a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetScale'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 116 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetInheritOrientation :: HG3DClass -> Bool -> IO () cNSetInheritOrientation a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cNSetInheritOrientation'_ a1' a2' >>= \res -> return () {-# LINE 120 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetInheritOrientation :: HG3DClass -> IO (Bool) cNGetInheritOrientation a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetInheritOrientation'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 124 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetInheritScale :: HG3DClass -> Bool -> IO () cNSetInheritScale a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cNSetInheritScale'_ a1' a2' >>= \res -> return () {-# LINE 128 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetInheritScale :: HG3DClass -> IO (Bool) cNGetInheritScale a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetInheritScale'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 132 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNScale :: HG3DClass -> Vector3 -> IO () cNScale a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNScale'_ a1' a2' >>= \res -> return () {-# LINE 136 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNScale2 :: HG3DClass -> Float -> Float -> Float -> IO () cNScale2 a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in cNScale2'_ a1' a2' a3' a4' >>= \res -> return () {-# LINE 142 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNTranslate :: HG3DClass -> Vector3 -> EnumTransformSpace -> IO () cNTranslate a1 a2 a3 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNTranslate'_ a1' a2' a3' >>= \res -> return () {-# LINE 147 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNTranslate2 :: HG3DClass -> Float -> Float -> Float -> EnumTransformSpace -> IO () cNTranslate2 a1 a2 a3 a4 a5 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in let {a5' = cIntFromEnum a5} in cNTranslate2'_ a1' a2' a3' a4' a5' >>= \res -> return () {-# LINE 154 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRoll :: HG3DClass -> Radian -> EnumTransformSpace -> IO () cNRoll a1 a2 a3 = withHG3DClass a1 $ \a1' -> withRadian a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNRoll'_ a1' a2' a3' >>= \res -> return () {-# LINE 159 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNPitch :: HG3DClass -> Radian -> EnumTransformSpace -> IO () cNPitch a1 a2 a3 = withHG3DClass a1 $ \a1' -> withRadian a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNPitch'_ a1' a2' a3' >>= \res -> return () {-# LINE 164 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNYaw :: HG3DClass -> Radian -> EnumTransformSpace -> IO () cNYaw a1 a2 a3 = withHG3DClass a1 $ \a1' -> withRadian a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNYaw'_ a1' a2' a3' >>= \res -> return () {-# LINE 169 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRotate :: HG3DClass -> Vector3 -> Radian -> EnumTransformSpace -> IO () cNRotate a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> withRadian a3 $ \a3' -> let {a4' = cIntFromEnum a4} in cNRotate'_ a1' a2' a3' a4' >>= \res -> return () {-# LINE 175 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRotate2 :: HG3DClass -> Quaternion -> EnumTransformSpace -> IO () cNRotate2 a1 a2 a3 = withHG3DClass a1 $ \a1' -> withQuaternion a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNRotate2'_ a1' a2' a3' >>= \res -> return () {-# LINE 180 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNCreateChild :: HG3DClass -> Vector3 -> Quaternion -> IO (HG3DClass) cNCreateChild a1 a2 a3 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> withQuaternion a3 $ \a3' -> alloca $ \a4' -> cNCreateChild'_ a1' a2' a3' a4' >>= \res -> peek a4'>>= \a4'' -> return (a4'') {-# LINE 186 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNCreateChild2 :: HG3DClass -> String -> Vector3 -> Quaternion -> IO (HG3DClass) cNCreateChild2 a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> withCString a2 $ \a2' -> withVector3 a3 $ \a3' -> withQuaternion a4 $ \a4' -> alloca $ \a5' -> cNCreateChild2'_ a1' a2' a3' a4' a5' >>= \res -> peek a5'>>= \a5'' -> return (a5'') {-# LINE 193 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNAddChild :: HG3DClass -> HG3DClass -> IO () cNAddChild a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cNAddChild'_ a1' a2' >>= \res -> return () {-# LINE 197 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNNumChildren :: HG3DClass -> IO (Int) cNNumChildren a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNNumChildren'_ a1' a2' >>= \res -> peekIntConv a2'>>= \a2'' -> return (a2'') {-# LINE 201 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetChild :: HG3DClass -> Int -> IO (HG3DClass) cNGetChild a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromIntegral a2} in alloca $ \a3' -> cNGetChild'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 206 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetChild2 :: HG3DClass -> String -> IO (HG3DClass) cNGetChild2 a1 a2 = withHG3DClass a1 $ \a1' -> withCString a2 $ \a2' -> alloca $ \a3' -> cNGetChild2'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 211 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRemoveChild :: HG3DClass -> Int -> IO (HG3DClass) cNRemoveChild a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromIntegral a2} in alloca $ \a3' -> cNRemoveChild'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 216 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRemoveChild2 :: HG3DClass -> HG3DClass -> IO (HG3DClass) cNRemoveChild2 a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> alloca $ \a3' -> cNRemoveChild2'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 221 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRemoveChild3 :: HG3DClass -> String -> IO (HG3DClass) cNRemoveChild3 a1 a2 = withHG3DClass a1 $ \a1' -> withCString a2 $ \a2' -> alloca $ \a3' -> cNRemoveChild3'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 226 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRemoveAllChildren :: HG3DClass -> IO () cNRemoveAllChildren a1 = withHG3DClass a1 $ \a1' -> cNRemoveAllChildren'_ a1' >>= \res -> return () {-# LINE 229 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetDerivedPosition :: HG3DClass -> Vector3 -> IO () cNSetDerivedPosition a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNSetDerivedPosition'_ a1' a2' >>= \res -> return () {-# LINE 233 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetDerivedOrientation :: HG3DClass -> Quaternion -> IO () cNSetDerivedOrientation a1 a2 = withHG3DClass a1 $ \a1' -> withQuaternion a2 $ \a2' -> cNSetDerivedOrientation'_ a1' a2' >>= \res -> return () {-# LINE 237 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetDerivedOrientation :: HG3DClass -> IO (Quaternion) cNGetDerivedOrientation a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetDerivedOrientation'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 241 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetDerivedPosition :: HG3DClass -> IO (Vector3) cNGetDerivedPosition a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetDerivedPosition'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 245 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetDerivedScale :: HG3DClass -> IO (Vector3) cNGetDerivedScale a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetDerivedScale'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 249 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNUpdate :: HG3DClass -> Bool -> Bool -> IO () cNUpdate a1 a2 a3 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in let {a3' = fromBool a3} in cNUpdate'_ a1' a2' a3' >>= \res -> return () {-# LINE 254 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetInitialState :: HG3DClass -> IO () cNSetInitialState a1 = withHG3DClass a1 $ \a1' -> cNSetInitialState'_ a1' >>= \res -> return () {-# LINE 257 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNResetToInitialState :: HG3DClass -> IO () cNResetToInitialState a1 = withHG3DClass a1 $ \a1' -> cNResetToInitialState'_ a1' >>= \res -> return () {-# LINE 260 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetInitialPosition :: HG3DClass -> IO (Vector3) cNGetInitialPosition a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetInitialPosition'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 264 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNConvertWorldToLocalPosition :: HG3DClass -> Vector3 -> IO (Vector3) cNConvertWorldToLocalPosition a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> alloca $ \a3' -> cNConvertWorldToLocalPosition'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 269 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNConvertLocalToWorldPosition :: HG3DClass -> Vector3 -> IO (Vector3) cNConvertLocalToWorldPosition a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> alloca $ \a3' -> cNConvertLocalToWorldPosition'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 274 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNConvertWorldToLocalOrientation :: HG3DClass -> Quaternion -> IO (Quaternion) cNConvertWorldToLocalOrientation a1 a2 = withHG3DClass a1 $ \a1' -> withQuaternion a2 $ \a2' -> alloca $ \a3' -> cNConvertWorldToLocalOrientation'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 279 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNConvertLocalToWorldOrientation :: HG3DClass -> Quaternion -> IO (Quaternion) cNConvertLocalToWorldOrientation a1 a2 = withHG3DClass a1 $ \a1' -> withQuaternion a2 $ \a2' -> alloca $ \a3' -> cNConvertLocalToWorldOrientation'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 284 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetInitialOrientation :: HG3DClass -> IO (Quaternion) cNGetInitialOrientation a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetInitialOrientation'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 288 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNGetInitialScale :: HG3DClass -> IO (Vector3) cNGetInitialScale a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cNGetInitialScale'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 292 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNNeedUpdate :: HG3DClass -> Bool -> IO () cNNeedUpdate a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cNNeedUpdate'_ a1' a2' >>= \res -> return () {-# LINE 296 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRequestUpdate :: HG3DClass -> HG3DClass -> Bool -> IO () cNRequestUpdate a1 a2 a3 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> let {a3' = fromBool a3} in cNRequestUpdate'_ a1' a2' a3' >>= \res -> return () {-# LINE 301 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNCancelUpdate :: HG3DClass -> HG3DClass -> IO () cNCancelUpdate a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cNCancelUpdate'_ a1' a2' >>= \res -> return () {-# LINE 305 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getName_c" cNGetName'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getParent_c" cNGetParent'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getOrientation_c" cNGetOrientation'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setOrientation_c" cNSetOrientation'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setOrientation2_c" cNSetOrientation2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (CFloat -> (IO ())))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_resetOrientation_c" cNResetOrientation'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setPosition_c" cNSetPosition'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setPosition2_c" cNSetPosition2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getPosition_c" cNGetPosition'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setScale_c" cNSetScale'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setScale2_c" cNSetScale2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getScale_c" cNGetScale'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setInheritOrientation_c" cNSetInheritOrientation'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getInheritOrientation_c" cNGetInheritOrientation'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setInheritScale_c" cNSetInheritScale'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getInheritScale_c" cNGetInheritScale'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_scale_c" cNScale'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_scale2_c" cNScale2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_translate_c" cNTranslate'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_translate2_c" cNTranslate2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (CInt -> (IO ())))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_roll_c" cNRoll'_ :: ((HG3DClassPtr) -> ((RadianPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_pitch_c" cNPitch'_ :: ((HG3DClassPtr) -> ((RadianPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_yaw_c" cNYaw'_ :: ((HG3DClassPtr) -> ((RadianPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_rotate_c" cNRotate'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((RadianPtr) -> (CInt -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_rotate2_c" cNRotate2'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_createChild_c" cNCreateChild'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((QuaternionPtr) -> ((HG3DClassPtr) -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_createChild2_c" cNCreateChild2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Vector3Ptr) -> ((QuaternionPtr) -> ((HG3DClassPtr) -> (IO ())))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_addChild_c" cNAddChild'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_numChildren_c" cNNumChildren'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getChild_c" cNGetChild'_ :: ((HG3DClassPtr) -> (CUInt -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getChild2_c" cNGetChild2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_removeChild_c" cNRemoveChild'_ :: ((HG3DClassPtr) -> (CUInt -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_removeChild2_c" cNRemoveChild2'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_removeChild3_c" cNRemoveChild3'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_removeAllChildren_c" cNRemoveAllChildren'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN__setDerivedPosition_c" cNSetDerivedPosition'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN__setDerivedOrientation_c" cNSetDerivedOrientation'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN__getDerivedOrientation_c" cNGetDerivedOrientation'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN__getDerivedPosition_c" cNGetDerivedPosition'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN__getDerivedScale_c" cNGetDerivedScale'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN__update_c" cNUpdate'_ :: ((HG3DClassPtr) -> (CInt -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_setInitialState_c" cNSetInitialState'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_resetToInitialState_c" cNResetToInitialState'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getInitialPosition_c" cNGetInitialPosition'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_convertWorldToLocalPosition_c" cNConvertWorldToLocalPosition'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((Vector3Ptr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_convertLocalToWorldPosition_c" cNConvertLocalToWorldPosition'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((Vector3Ptr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_convertWorldToLocalOrientation_c" cNConvertWorldToLocalOrientation'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> ((QuaternionPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_convertLocalToWorldOrientation_c" cNConvertLocalToWorldOrientation'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> ((QuaternionPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getInitialOrientation_c" cNGetInitialOrientation'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getInitialScale_c" cNGetInitialScale'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_needUpdate_c" cNNeedUpdate'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_requestUpdate_c" cNRequestUpdate'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_cancelUpdate_c" cNCancelUpdate'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))