Created
May 7, 2010 18:01
-
-
Save fffej/393784 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data State = State { | |
density :: Grid | |
, previousDensity :: Grid | |
, velocity :: (Grid,Grid) | |
, previousVelocity :: (Grid,Grid) | |
, mousePoint :: IORef (Int,Int) | |
, oldMousePoint :: IORef (Int,Int) | |
, leftDown :: IORef Bool | |
, rightDown :: IORef Bool | |
, drawVel :: IORef Bool | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment