Refactored world runner.
[hollow-plutonium.git] / Image.hs
blobd1d1e3e46f9a5df58ef83d2f117d9cc66a3cd853
1 module Image where
3 import Data.Complex
5 data Image = Image {
6 imgWH :: Complex Double,
7 imgApply :: Complex Double -> IO ()
10 instance Show Image where
11 show img = "Image { "++show (imgWH img)++" }"
13 dummyImage = Image {
14 imgWH = 0,
15 imgApply = \x -> return ()