not-gloss-0.3.0: Painless 3D graphics, no affiliation with gloss

Safe HaskellSafe-Infered

Vis.Vis

Documentation

visSource

Arguments

:: Real b 
=> Double

sample time

-> a

initial state

-> (FullState a -> IO a)

sim function

-> (FullState a -> IO (VisObject b))

draw function

-> (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 () 

type FullState a = (a, Float)Source