Simplified texture and model loading; also use crosshair for DefaultPlayer
This commit is contained in:
parent
dafe16f191
commit
08762ddc9a
7 changed files with 55 additions and 54 deletions
|
@ -1,8 +1,15 @@
|
|||
module Model ( Model(..)
|
||||
, InterleavedObj
|
||||
, modelPath
|
||||
) where
|
||||
|
||||
import Paths_htanks
|
||||
import Data.Obj3D.GL (InterleavedObj)
|
||||
|
||||
data Model = ModelTank
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
modelPath :: Model -> IO FilePath
|
||||
modelPath t = getDataFileName $ "model/" ++ (name t) ++ ".obj"
|
||||
where
|
||||
name ModelTank = "tank"
|
||||
|
|
Reference in a new issue