Applied 'final patch' from bug #874
authorNeil Roberts <neil@openedhand.com>
Mon, 2 Jun 2008 12:34:10 +0000 (12:34 +0000)
committerNeil Roberts <neil@openedhand.com>
Mon, 2 Jun 2008 12:34:10 +0000 (12:34 +0000)
commit8bdb98736dcbefabc14a50f0adaea74db328c443
tree0b242b1a0bef0516c9363048b24ce459f4932d3d
parent42ed195f0193e9efc5c980d4a03e9a5053377d2b
Applied 'final patch' from bug #874

* clutter/cogl/gles/cogl.c:
* clutter/cogl/gl/cogl.c: The clip planes are now set using the
inverse projection matrix as the modelview matrix so that they can
be specified in screen coordinates.

* clutter/cogl/gles/cogl-context.h (CoglContext):
* clutter/cogl/gl/cogl-context.h (CoglContext): Added a member to
cache the inverse projection matrix

* clutter/clutter-fixed.h: Added a constant for converting from
radians to degrees.

* clutter/clutter-fixed.c (clutter_atani, clutter_atan2i): Added
fixed-point versions of atan and atan2.

* tests/test-clip.c: Added a test for clipping with various
rotations and depths.

* tests/Makefile.am (noinst_PROGRAMS): Added test-clip
ChangeLog
clutter/clutter-fixed.c
clutter/clutter-fixed.h
clutter/cogl/gl/cogl-context.h
clutter/cogl/gl/cogl.c
clutter/cogl/gles/cogl-context.h
clutter/cogl/gles/cogl.c
tests/Makefile.am
tests/test-clip.c [new file with mode: 0644]