Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Options = Options {}
- data Antialiasing
- vis :: Real b => Options -> Double -> a -> (FullState a -> IO a) -> (FullState a -> IO (VisObject b, Maybe Cursor)) -> (a -> IO ()) -> Maybe (a -> Key -> KeyState -> Modifiers -> Position -> a) -> Maybe (a -> Position -> a) -> Maybe (a -> Position -> a) -> IO ()
- visMovie :: forall b. Real b => Options -> (Int -> FilePath) -> Double -> [VisObject b] -> Maybe Cursor -> IO ()
- type FullState a = (a, Float)
Documentation
Options | |
|
data Antialiasing Source
:: Real b | |
=> Options | user options |
-> 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 () |