cogl docs: Improve documentation for cogl_ortho
authorRobert Bragg <robert@linux.intel.com>
Wed, 26 May 2010 02:07:17 +0000 (03:07 +0100)
committerRobert Bragg <robert@linux.intel.com>
Tue, 15 Jun 2010 14:26:28 +0000 (15:26 +0100)
commitff4d3e048b11ed1fc609c53e5e00595602eaf373
tree73eeb132fad04a556dbb11d35489204191dda78f
parente8275538e5a06a267d7e7e062103736dfdc3ac53
cogl docs: Improve documentation for cogl_ortho

cogl_ortho is one of those APIs whos style was, for better or worse,
copied from OpenGL and for some inexplicable reason the near and far
arguments are inconsistent with the left, right, top, bottom arguments
because they don't take z coordinates they take a "distance" which
should be negative for a plane behind the viewer.

This updates the documentation to explain this.
clutter/cogl/cogl/cogl.h
doc/reference/cogl/Makefile.am
doc/reference/cogl/cogl_ortho.png [new file with mode: 0644]