Files
mercury/extras/graphics/README
Julien Fischer 2476deb795 Add a Mercury binding to GLFW to the Mercury extras.
For post-commit review by Ian.

Add a Mercury binding to GLFW to the Mercury extras.
(GLFW is a lightweight library creating and managing an OpenGL rendering
context, as well as handling keyboard and mouse input.  It fulfills pretty much
the same role as GLUT but has a more sane design.)

extras/graphics/mercury_glfw/mercury_glfw.m:
extras/graphics/mercury_glfw/glfw.m:
	Add a Mercury binding to GLFW.

extras/graphics/mercury_glfw/README:
	Document how to build and install the binding.

	Provide a brief overview of the binding.

extras/graphics/mercury_glfw/GLFW.options:
extras/graphics/mercury_glfw/Mercury.options:
	Mercury compiler flags for building the binding --
	currently set up for Mac OS X.

extras/graphics/mercury_glfw/samples/gears.m:
extras/graphics/mercury_glfw/samples/listmodes.m:
extras/graphics/mercury_glfw/samples/triangle.m:
	Add Mercury versions of some of the GLFW examples.

extra/graphics/README:
	Add mercury_glfw.
2012-03-25 14:05:57 +00:00

37 lines
1.0 KiB
Plaintext

This directory contains stuff for doing graphics with Mercury.
If you add missing functionality to any of these modules, let us know,
and we'll see about incorporating enhancements in the main distribution.
easyx/ A Mercury binding to Xlib suitable for
simple interactive graphical
applications.
mercury_allegro/ A Mercury binding to the Allegro
and AllegroGL game programming
libraries.
mercury_tcltk/ A Mercury binding to Tcl/Tk.
mercury_opengl/ A Mercury binding to OpenGL.
mercury_glfw/ A Mercury binding to GLFW.
mercury_glut/ A Mercury binding to GLUT.
mercury_cairo/ A Mercury binding to the Cairo 2D graphics
library.
samples/
calc/ A calculator that uses mercury_tcltk
maze/ Draws pretty mazes in 3D using OpenGL
and GLUT.
pent/ Places pentominoes on a board in 3D
using OpenGL and GLUT.
We haven't worked out how to prevent the Tcl/Tk library from giving a
tcl prompt when it enters the event loop. If you know how, let us know!