aboutsummaryrefslogtreecommitdiff
path: root/Final.hs
diff options
context:
space:
mode:
authorJoshua Rahm <jrahm@Scipio.(none)>2014-04-29 03:57:40 -0600
committerJoshua Rahm <jrahm@Scipio.(none)>2014-04-29 03:57:40 -0600
commita60702dd882768e7f5b7fcadd39253ac8de9114f (patch)
tree5983516756b571050e669fdbe5f16ea534e1b9d2 /Final.hs
parent6c9d984c054d634d2873fa3a74c41d2436f7fd53 (diff)
downloadterralloc-a60702dd882768e7f5b7fcadd39253ac8de9114f.tar.gz
terralloc-a60702dd882768e7f5b7fcadd39253ac8de9114f.tar.bz2
terralloc-a60702dd882768e7f5b7fcadd39253ac8de9114f.zip
added cheesey snow
Diffstat (limited to 'Final.hs')
-rw-r--r--Final.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Final.hs b/Final.hs
index 3b3e2c4..8676b13 100644
--- a/Final.hs
+++ b/Final.hs
@@ -122,6 +122,7 @@ colorArray marr = do
- 2 things:
- A map of water bodies ids to elevations (to detect if you are under water
- A builder that will generate all of the quads for the water. -}
+
getWaterQuads :: Array (Int,Int) Tile -> IOArray (Int,Int) Int -> IO ( Map.Map Int GLfloat, BuilderM GLfloat () )
getWaterQuads marr arr = do
let (_,(w,h)) = bounds marr