diff options
| author | Joshua Rahm <jrahm@Scipio.(none)> | 2014-04-29 03:57:40 -0600 |
|---|---|---|
| committer | Joshua Rahm <jrahm@Scipio.(none)> | 2014-04-29 03:57:40 -0600 |
| commit | a60702dd882768e7f5b7fcadd39253ac8de9114f (patch) | |
| tree | 5983516756b571050e669fdbe5f16ea534e1b9d2 /Final.hs | |
| parent | 6c9d984c054d634d2873fa3a74c41d2436f7fd53 (diff) | |
| download | terralloc-a60702dd882768e7f5b7fcadd39253ac8de9114f.tar.gz terralloc-a60702dd882768e7f5b7fcadd39253ac8de9114f.tar.bz2 terralloc-a60702dd882768e7f5b7fcadd39253ac8de9114f.zip | |
added cheesey snow
Diffstat (limited to 'Final.hs')
| -rw-r--r-- | Final.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |