mirror of
https://github.com/brl/mutter.git
synced 2025-02-22 16:04:09 +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