builds, but does not work.

pattern-match-failure.
This commit is contained in:
Stefan Dresselhaus
2014-05-15 21:57:15 +02:00
parent e37832371c
commit ee5eb95a2e
3 changed files with 30 additions and 4 deletions

View File

@ -308,6 +308,8 @@ renderOverview = do
-- | renders an IQM-Model at Position with scaling
renderIQM :: IQM -> L.V3 CFloat -> L.V3 CFloat -> IO ()
renderIQM m p@(L.V3 x y z) s@(L.V3 sx sy sz) = do
bindVertexArrayObject $= Just (vertexArrayObject m)
glDrawArrays gl_TRIANGLES 0 3
return ()
renderObject :: MapObject -> IO ()