HGE2D-0.1.6.2: 2D game engine written in Haskell

Copyright(c) 2016 Martin Buck
Licensesee LICENSE
Safe HaskellNone
LanguageHaskell2010

HGE2D.Render

Contents

Description

Containing the instance of GlRender for a RenderInstruction

Synopsis

Documentation

withCamera :: EngineState a -> a -> RenderInstruction -> RenderInstruction Source #

Adding a default camera instruction to a given RenderInstruction

Orphan instances

GlRender RenderInstruction Source #

Instance of GLRender for a RenderInstruction Makes it possible to render the RenderInstruction primitives