gloss-1.12.0.0: Painless 2D vector graphics, animations and simulations.

Safe HaskellNone
LanguageHaskell98

Graphics.Gloss.Data.ViewState

Synopsis

Documentation

defaultCommandConfig :: CommandConfig Source #

The default commands. Left click pans, wheel zooms, right click rotates, "r" key resets.

data ViewState Source #

State for controlling the viewport. These are used by the viewport control component.

Constructors

ViewState 

Fields

viewStateInit :: ViewState Source #

The initial view state.

viewStateInitWithConfig :: CommandConfig -> ViewState Source #

Initial view state, with user defined config.