mirror of
https://github.com/brl/mutter.git
synced 2025-03-25 04:33:52 +00:00

The transform_point function takes a modelview matrix, projection matrix and a viewport and performs all three transformations on a point to give a Cogl window coordinate. This is useful in a number of places in Cogl so this patch moves it to cogl.c and adds it to cogl-internal.h