-- 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-4\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.Colour import HGamer3D.Data.Angle import HGamer3D.Bindings.Ogre.TypeHG3DClass {-# LINE 52 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.ClassPtr {-# LINE 53 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.Utils {-# LINE 54 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.TypeQuaternion {-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.TypeVector3 {-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.EnumTransformSpace {-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} import HGamer3D.Bindings.Ogre.TypeRadian {-# LINE 58 "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 64 "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 68 "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 72 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetOrientation :: HG3DClass -> Quaternion -> IO () cNSetOrientation a1 a2 = withHG3DClass a1 $ \a1' -> withQuaternion a2 $ \a2' -> cNSetOrientation'_ a1' a2' >>= \res -> return () {-# LINE 76 "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 83 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNResetOrientation :: HG3DClass -> IO () cNResetOrientation a1 = withHG3DClass a1 $ \a1' -> cNResetOrientation'_ a1' >>= \res -> return () {-# LINE 86 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetPosition :: HG3DClass -> Vector3 -> IO () cNSetPosition a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNSetPosition'_ a1' a2' >>= \res -> return () {-# LINE 90 "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 96 "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 100 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetScale :: HG3DClass -> Vector3 -> IO () cNSetScale a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNSetScale'_ a1' a2' >>= \res -> return () {-# LINE 104 "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 110 "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 114 "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 118 "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 122 "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 126 "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 130 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNScale :: HG3DClass -> Vector3 -> IO () cNScale a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNScale'_ a1' a2' >>= \res -> return () {-# LINE 134 "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 140 "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 145 "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 152 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRoll :: HG3DClass -> Radians -> EnumTransformSpace -> IO () cNRoll a1 a2 a3 = withHG3DClass a1 $ \a1' -> withRadians a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNRoll'_ a1' a2' a3' >>= \res -> return () {-# LINE 157 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNPitch :: HG3DClass -> Radians -> EnumTransformSpace -> IO () cNPitch a1 a2 a3 = withHG3DClass a1 $ \a1' -> withRadians a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNPitch'_ a1' a2' a3' >>= \res -> return () {-# LINE 162 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNYaw :: HG3DClass -> Radians -> EnumTransformSpace -> IO () cNYaw a1 a2 a3 = withHG3DClass a1 $ \a1' -> withRadians a2 $ \a2' -> let {a3' = cIntFromEnum a3} in cNYaw'_ a1' a2' a3' >>= \res -> return () {-# LINE 167 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRotate :: HG3DClass -> Vector3 -> Radians -> EnumTransformSpace -> IO () cNRotate a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> withRadians a3 $ \a3' -> let {a4' = cIntFromEnum a4} in cNRotate'_ a1' a2' a3' a4' >>= \res -> return () {-# LINE 173 "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 178 "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 184 "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 191 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNAddChild :: HG3DClass -> HG3DClass -> IO () cNAddChild a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cNAddChild'_ a1' a2' >>= \res -> return () {-# LINE 195 "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 199 "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 204 "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 209 "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 214 "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 219 "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 224 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNRemoveAllChildren :: HG3DClass -> IO () cNRemoveAllChildren a1 = withHG3DClass a1 $ \a1' -> cNRemoveAllChildren'_ a1' >>= \res -> return () {-# LINE 227 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetDerivedPosition :: HG3DClass -> Vector3 -> IO () cNSetDerivedPosition a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cNSetDerivedPosition'_ a1' a2' >>= \res -> return () {-# LINE 231 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetDerivedOrientation :: HG3DClass -> Quaternion -> IO () cNSetDerivedOrientation a1 a2 = withHG3DClass a1 $ \a1' -> withQuaternion a2 $ \a2' -> cNSetDerivedOrientation'_ a1' a2' >>= \res -> return () {-# LINE 235 "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 239 "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 243 "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 247 "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 252 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNSetInitialState :: HG3DClass -> IO () cNSetInitialState a1 = withHG3DClass a1 $ \a1' -> cNSetInitialState'_ a1' >>= \res -> return () {-# LINE 255 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNResetToInitialState :: HG3DClass -> IO () cNResetToInitialState a1 = withHG3DClass a1 $ \a1' -> cNResetToInitialState'_ a1' >>= \res -> return () {-# LINE 258 "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 262 "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 267 "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 272 "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 277 "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 282 "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 286 "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 290 "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 294 "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 299 "HGamer3D\\Bindings\\Ogre\\ClassNode.chs" #-} ; cNCancelUpdate :: HG3DClass -> HG3DClass -> IO () cNCancelUpdate a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cNCancelUpdate'_ a1' a2' >>= \res -> return () {-# LINE 303 "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) -> ((RadiansPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_pitch_c" cNPitch'_ :: ((HG3DClassPtr) -> ((RadiansPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_yaw_c" cNYaw'_ :: ((HG3DClassPtr) -> ((RadiansPtr) -> (CInt -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_rotate_c" cNRotate'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((RadiansPtr) -> (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 CUShort) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassNode.chs.h cN_getChild_c" cNGetChild'_ :: ((HG3DClassPtr) -> (CUShort -> ((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) -> (CUShort -> ((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 ())))