[cogl matrix] Support ortho and perspective projections.
authorRobert Bragg <robert@linux.intel.com>
Tue, 26 May 2009 10:33:54 +0000 (11:33 +0100)
committerRobert Bragg <robert@linux.intel.com>
Thu, 28 May 2009 01:43:35 +0000 (02:43 +0100)
commit96188bab621d4a342d67a1e0a85dd1dcb3bdee68
tree0ecbd109bc16a4ee416d75e5927765e266b0c423
parent12c8ff8606c2fb6212e59c50842e04b634f7c4b2
[cogl matrix] Support ortho and perspective projections.

This adds cogl_matrix api for multiplying matrices either by a perspective
or ortho projective transform.  The internal matrix stack and current-matrix
APIs also have corresponding support added.

New public API:
cogl_matrix_perspective
cogl_matrix_ortho
cogl_ortho
cogl_set_modelview_matrix
cogl_set_projection_matrix
clutter/cogl/cogl-matrix.h
clutter/cogl/cogl.h.in
clutter/cogl/common/cogl-current-matrix.c
clutter/cogl/common/cogl-matrix-stack.c
clutter/cogl/common/cogl-matrix-stack.h
clutter/cogl/common/cogl-matrix.c
doc/reference/cogl/cogl-sections.txt