ca30ac7835
This adds two new experimental functions to cogl-matrix.c: cogl_matrix_view_2d_in_perspective and cogl_matrix_view_2d_in_frustum which can be used to setup a view transform that maps a 2D coordinate system (0,0) top left and (width,height) bottom right to the current viewport. Toolkits such as Clutter that want to mix 2D and 3D drawing can use these APIs to position a 2D coordinate system at an arbitrary depth inside a 3D perspective projected viewing frustum. |
||
---|---|---|
.. | ||
cogl | ||
doc | ||
pango | ||
Makefile.am |