OpenGL utility code that I've written long ago and found useful and might need again one day.