shapes-0.1.0.0: physics engine and other tools for 2D shapes

Safe HaskellNone
LanguageHaskell2010

Physics.Engine.Main

Description

This is an example of how to use this library to create and simulate a world. It's more documentation than an API I actually expect people to use.

Documentation

wrapUpdater' :: (World' a -> ST s (World' a)) -> EngineST a s (World' a) Source #

runEngineST :: Double -> Scene (Engine a) -> (forall s. EngineST a s b) -> b Source #