hogre-examples 0.0.2 → 0.0.3
raw patch · 5 files changed
+2/−7 lines, 5 files
Files
- hogre-examples.cabal +1/−1
- src/Common.hs +0/−1
- src/Example_01.hs +1/−1
- src/Example_02.hs +0/−2
- src/Example_03.hs +0/−2
hogre-examples.cabal view
@@ -1,5 +1,5 @@ Name: hogre-examples-Version: 0.0.2+Version: 0.0.3 Cabal-Version: >= 1.6 License: OtherLicense License-File: LICENSE
src/Common.hs view
@@ -1,7 +1,6 @@ module Common(runWithSDL, FrameCallback(..), EventCallback(..)) where -import System.IO import Control.Concurrent import Control.Concurrent.STM
src/Example_01.hs view
@@ -40,7 +40,7 @@ addEntity (Entity "obj1" (ogreloc 0) (StdMesh "robot.mesh" (YPR 0 0 0)) True (Vector3 0.20 0.20 0.20)) handle shutdown (renderLoop 0) -shutdown :: (Show a) => a -> IO ()+shutdown :: IOException -> IO () shutdown e = do print e putStrLn "Shutting down..."
src/Example_02.hs view
@@ -2,8 +2,6 @@ module Main where -import System.IO- import qualified Graphics.UI.SDL as SDL import Graphics.Ogre.Ogre
src/Example_03.hs view
@@ -2,8 +2,6 @@ module Main where -import Data.Maybe-import System.IO import Control.Monad (when) import qualified Graphics.UI.SDL as SDL