clutter_actor_project_point/vertices

This commit is contained in:
Tomas Frydrych
2007-06-12 11:42:29 +00:00
parent f72e754876
commit 1a6069bdee
3 changed files with 99 additions and 2 deletions

View File

@@ -533,3 +533,21 @@ cogl_get_features ()
/* Suck */
return 0;
}
void
cogl_get_modelview_matrix (ClutterFixed m[16])
{
glGetFixedv(GL_MODELVIEW_MATRIX, &m[0]);
}
void
cogl_get_projection_matrix (ClutterFixed m[16])
{
glGetFixedv(GL_PROJECTION_MATRIX, &m[0]);
}
void
cogl_get_viewport (ClutterFixed v[4])
{
glGetFixedv(GL_VIEWPORT, &v[0]);
}