graphics-drawingcombinators
graphics-drawingcombinators copied to clipboard
Combinators for drawing 2D shapes and images in Haskell (using OpenGL)
``` H:\Workings\haskell\nbody>cabal install graphics-drawingcombinators-1.5.1 --extra-include-dirs=H:\Workings\haskell\nbody\ftgl-2.1.3-vc11-64\include --extra-lib-dirs=H:\Workings\haskell\nbody\ftgl-2.1.3-vc11-64\lib Resolving dependencies... cabal: Could not resolve dependencies: trying: FTGL-2.1/installed-c8c... (user goal) trying: graphics-drawingcombinators-1.5.1 (user goal) next goal: OpenGL (dependency of graphics-drawingcombinators-1.5.1) rejecting: OpenGL-2.12.0.1/installed-cc2..., 2.13.1.0,...
The `minimalRender` function is like `render` but does not do any setup for antialiasing.
Demo doesn't seem to work with GLFW-b, but works with GLFW; plus bumped gl version and added short readme for somebody who finds this through github..
I would suggest to add a README and list that ftgl-devel need to be installed for the library to work. For example on Fedora the user should run: ``` bash...
At least here GLFW-b doesn't have `GLFW.initialize`, but there is a `GLFW.init` which I think that you can use.