-- 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\\ClassFrustum.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. -- -- ClassFrustum.chs -- -- -- -- -- File for type, method, enum or function stubs -- in: "..\OgreSDK_vc10_v1-7-4\include\OGRE\OgreFrustum.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.ClassFrustum 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\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.ClassPtr {-# LINE 53 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.Utils {-# LINE 54 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.TypeRadian {-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.TypeVector2 {-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.TypeVector3 {-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.EnumFrustumPlane {-# LINE 58 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.TypeSharedPtr {-# LINE 59 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.EnumProjectionType {-# LINE 60 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.TypeQuaternion {-# LINE 61 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} import HGamer3D.Bindings.Ogre.EnumOrientationMode {-# LINE 62 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} cFSetFOVy :: HG3DClass -> Radians -> IO () cFSetFOVy a1 a2 = withHG3DClass a1 $ \a1' -> withRadians a2 $ \a2' -> cFSetFOVy'_ a1' a2' >>= \res -> return () {-# LINE 68 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetFOVy :: HG3DClass -> IO (Radians) cFGetFOVy a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetFOVy'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 72 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetNearClipDistance :: HG3DClass -> Float -> IO () cFSetNearClipDistance a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cFSetNearClipDistance'_ a1' a2' >>= \res -> return () {-# LINE 76 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetNearClipDistance :: HG3DClass -> IO (Float) cFGetNearClipDistance a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetNearClipDistance'_ a1' a2' >>= \res -> peekFloatConv a2'>>= \a2'' -> return (a2'') {-# LINE 80 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetFarClipDistance :: HG3DClass -> Float -> IO () cFSetFarClipDistance a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cFSetFarClipDistance'_ a1' a2' >>= \res -> return () {-# LINE 84 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetFarClipDistance :: HG3DClass -> IO (Float) cFGetFarClipDistance a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetFarClipDistance'_ a1' a2' >>= \res -> peekFloatConv a2'>>= \a2'' -> return (a2'') {-# LINE 88 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetAspectRatio :: HG3DClass -> Float -> IO () cFSetAspectRatio a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cFSetAspectRatio'_ a1' a2' >>= \res -> return () {-# LINE 92 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetAspectRatio :: HG3DClass -> IO (Float) cFGetAspectRatio a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetAspectRatio'_ a1' a2' >>= \res -> peekFloatConv a2'>>= \a2'' -> return (a2'') {-# LINE 96 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetFrustumOffset :: HG3DClass -> Vector2 -> IO () cFSetFrustumOffset a1 a2 = withHG3DClass a1 $ \a1' -> withVector2 a2 $ \a2' -> cFSetFrustumOffset'_ a1' a2' >>= \res -> return () {-# LINE 100 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetFrustumOffset2 :: HG3DClass -> Float -> Float -> IO () cFSetFrustumOffset2 a1 a2 a3 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in cFSetFrustumOffset2'_ a1' a2' a3' >>= \res -> return () {-# LINE 105 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetFrustumOffset :: HG3DClass -> IO (Vector2) cFGetFrustumOffset a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetFrustumOffset'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 109 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetFocalLength :: HG3DClass -> Float -> IO () cFSetFocalLength a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cFSetFocalLength'_ a1' a2' >>= \res -> return () {-# LINE 113 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetFocalLength :: HG3DClass -> IO (Float) cFGetFocalLength a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetFocalLength'_ a1' a2' >>= \res -> peekFloatConv a2'>>= \a2'' -> return (a2'') {-# LINE 117 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetFrustumExtents :: HG3DClass -> Float -> Float -> Float -> Float -> IO () cFSetFrustumExtents 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 cFSetFrustumExtents'_ a1' a2' a3' a4' a5' >>= \res -> return () {-# LINE 124 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFResetFrustumExtents :: HG3DClass -> IO () cFResetFrustumExtents a1 = withHG3DClass a1 $ \a1' -> cFResetFrustumExtents'_ a1' >>= \res -> return () {-# LINE 127 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFIsCustomViewMatrixEnabled :: HG3DClass -> IO (Bool) cFIsCustomViewMatrixEnabled a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFIsCustomViewMatrixEnabled'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 131 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFIsCustomProjectionMatrixEnabled :: HG3DClass -> IO (Bool) cFIsCustomProjectionMatrixEnabled a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFIsCustomProjectionMatrixEnabled'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 135 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFIsVisible3 :: HG3DClass -> Vector3 -> IO (EnumFrustumPlane, Bool) cFIsVisible3 a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> alloca $ \a3' -> alloca $ \a4' -> cFIsVisible3'_ a1' a2' a3' a4' >>= \res -> peekEnumUtil a3'>>= \a3'' -> peekBoolUtil a4'>>= \a4'' -> return (a3'', a4'') {-# LINE 141 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetTypeFlags :: HG3DClass -> IO (Int) cFGetTypeFlags a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetTypeFlags'_ a1' a2' >>= \res -> peekIntConv a2'>>= \a2'' -> return (a2'') {-# LINE 145 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetBoundingRadius :: HG3DClass -> IO (Float) cFGetBoundingRadius a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetBoundingRadius'_ a1' a2' >>= \res -> peekFloatConv a2'>>= \a2'' -> return (a2'') {-# LINE 149 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetMovableType :: HG3DClass -> IO (String) cFGetMovableType a1 = withHG3DClass a1 $ \a1' -> alloc64k $ \a2' -> cFGetMovableType'_ a1' a2' >>= \res -> peekCString a2'>>= \a2'' -> return (a2'') {-# LINE 153 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFNotifyCurrentCamera :: HG3DClass -> HG3DClass -> IO () cFNotifyCurrentCamera a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cFNotifyCurrentCamera'_ a1' a2' >>= \res -> return () {-# LINE 157 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetMaterial :: HG3DClass -> IO (SharedPtr) cFGetMaterial a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetMaterial'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 161 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetProjectionType :: HG3DClass -> EnumProjectionType -> IO () cFSetProjectionType a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = cIntFromEnum a2} in cFSetProjectionType'_ a1' a2' >>= \res -> return () {-# LINE 165 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetProjectionType :: HG3DClass -> IO (EnumProjectionType) cFGetProjectionType a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetProjectionType'_ a1' a2' >>= \res -> peekEnumUtil a2'>>= \a2'' -> return (a2'') {-# LINE 169 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetOrthoWindow :: HG3DClass -> Float -> Float -> IO () cFSetOrthoWindow a1 a2 a3 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in cFSetOrthoWindow'_ a1' a2' a3' >>= \res -> return () {-# LINE 174 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetOrthoWindowHeight :: HG3DClass -> Float -> IO () cFSetOrthoWindowHeight a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cFSetOrthoWindowHeight'_ a1' a2' >>= \res -> return () {-# LINE 178 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetOrthoWindowWidth :: HG3DClass -> Float -> IO () cFSetOrthoWindowWidth a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cFSetOrthoWindowWidth'_ a1' a2' >>= \res -> return () {-# LINE 182 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetOrthoWindowHeight :: HG3DClass -> IO (Float) cFGetOrthoWindowHeight a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetOrthoWindowHeight'_ a1' a2' >>= \res -> peekFloatConv a2'>>= \a2'' -> return (a2'') {-# LINE 186 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetOrthoWindowWidth :: HG3DClass -> IO (Float) cFGetOrthoWindowWidth a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetOrthoWindowWidth'_ a1' a2' >>= \res -> peekFloatConv a2'>>= \a2'' -> return (a2'') {-# LINE 190 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFDisableReflection :: HG3DClass -> IO () cFDisableReflection a1 = withHG3DClass a1 $ \a1' -> cFDisableReflection'_ a1' >>= \res -> return () {-# LINE 193 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFIsReflected :: HG3DClass -> IO (Bool) cFIsReflected a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFIsReflected'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 197 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFDisableCustomNearClipPlane :: HG3DClass -> IO () cFDisableCustomNearClipPlane a1 = withHG3DClass a1 $ \a1' -> cFDisableCustomNearClipPlane'_ a1' >>= \res -> return () {-# LINE 200 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFIsCustomNearClipPlaneEnabled :: HG3DClass -> IO (Bool) cFIsCustomNearClipPlaneEnabled a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFIsCustomNearClipPlaneEnabled'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 204 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetPositionForViewUpdate :: HG3DClass -> IO (Vector3) cFGetPositionForViewUpdate a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetPositionForViewUpdate'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 208 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetOrientationForViewUpdate :: HG3DClass -> IO (Quaternion) cFGetOrientationForViewUpdate a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetOrientationForViewUpdate'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 212 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFSetOrientationMode :: HG3DClass -> EnumOrientationMode -> IO () cFSetOrientationMode a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = cIntFromEnum a2} in cFSetOrientationMode'_ a1' a2' >>= \res -> return () {-# LINE 216 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; cFGetOrientationMode :: HG3DClass -> IO (EnumOrientationMode) cFGetOrientationMode a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cFGetOrientationMode'_ a1' a2' >>= \res -> peekEnumUtil a2'>>= \a2'' -> return (a2'') {-# LINE 220 "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs" #-} ; foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setFOVy_c" cFSetFOVy'_ :: ((HG3DClassPtr) -> ((RadiansPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getFOVy_c" cFGetFOVy'_ :: ((HG3DClassPtr) -> ((RadiansPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setNearClipDistance_c" cFSetNearClipDistance'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getNearClipDistance_c" cFGetNearClipDistance'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setFarClipDistance_c" cFSetFarClipDistance'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getFarClipDistance_c" cFGetFarClipDistance'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setAspectRatio_c" cFSetAspectRatio'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getAspectRatio_c" cFGetAspectRatio'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setFrustumOffset_c" cFSetFrustumOffset'_ :: ((HG3DClassPtr) -> ((Vector2Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setFrustumOffset2_c" cFSetFrustumOffset2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getFrustumOffset_c" cFGetFrustumOffset'_ :: ((HG3DClassPtr) -> ((Vector2Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setFocalLength_c" cFSetFocalLength'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getFocalLength_c" cFGetFocalLength'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setFrustumExtents_c" cFSetFrustumExtents'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (CFloat -> (IO ())))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_resetFrustumExtents_c" cFResetFrustumExtents'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_isCustomViewMatrixEnabled_c" cFIsCustomViewMatrixEnabled'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_isCustomProjectionMatrixEnabled_c" cFIsCustomProjectionMatrixEnabled'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_isVisible3_c" cFIsVisible3'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((Ptr CInt) -> ((Ptr CInt) -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getTypeFlags_c" cFGetTypeFlags'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getBoundingRadius_c" cFGetBoundingRadius'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getMovableType_c" cFGetMovableType'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF__notifyCurrentCamera_c" cFNotifyCurrentCamera'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getMaterial_c" cFGetMaterial'_ :: ((HG3DClassPtr) -> ((SharedPtrPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setProjectionType_c" cFSetProjectionType'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getProjectionType_c" cFGetProjectionType'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setOrthoWindow_c" cFSetOrthoWindow'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setOrthoWindowHeight_c" cFSetOrthoWindowHeight'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setOrthoWindowWidth_c" cFSetOrthoWindowWidth'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getOrthoWindowHeight_c" cFGetOrthoWindowHeight'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getOrthoWindowWidth_c" cFGetOrthoWindowWidth'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_disableReflection_c" cFDisableReflection'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_isReflected_c" cFIsReflected'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_disableCustomNearClipPlane_c" cFDisableCustomNearClipPlane'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_isCustomNearClipPlaneEnabled_c" cFIsCustomNearClipPlaneEnabled'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getPositionForViewUpdate_c" cFGetPositionForViewUpdate'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getOrientationForViewUpdate_c" cFGetOrientationForViewUpdate'_ :: ((HG3DClassPtr) -> ((QuaternionPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_setOrientationMode_c" cFSetOrientationMode'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassFrustum.chs.h cF_getOrientationMode_c" cFGetOrientationMode'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))