| Safe Haskell | Safe-Infered |
|---|
Vis.Vis
Documentation
Arguments
| :: Real b | |
| => Double | sample time |
| -> a | initial state |
| -> (FullState a -> IO a) | sim function |
| -> (FullState a -> IO (VisObject b, Maybe Cursor)) | draw function, can give a different cursor |
| -> (a -> IO ()) | set camera function |
| -> Maybe (a -> Key -> KeyState -> Modifiers -> Position -> a) | keyboard/mouse callback |
| -> Maybe (a -> Position -> a) | motion callback |
| -> Maybe (a -> Position -> a) | passive motion callback |
| -> IO () |