diff --git a/cogl/cogl.c b/cogl/cogl.c index fe9177000..60761af0a 100644 --- a/cogl/cogl.c +++ b/cogl/cogl.c @@ -938,7 +938,7 @@ cogl_rotate (float angle, float x, float y, float z) } void -cogl_multiply_matrix (const CoglMatrix *matrix) +cogl_transform (const CoglMatrix *matrix) { CoglMatrixStack *modelview_stack = _cogl_framebuffer_get_modelview_stack (_cogl_get_framebuffer ()); diff --git a/cogl/cogl.h b/cogl/cogl.h index aff97dc1a..ff0e1f9a1 100644 --- a/cogl/cogl.h +++ b/cogl/cogl.h @@ -348,7 +348,7 @@ cogl_rotate (float angle, float z); /** - * cogl_multiply_matrix: + * cogl_transform: * @matrix: the matrix to multiply with the current model-view * * Multiplies the current model-view matrix by the given matrix. @@ -356,7 +356,7 @@ cogl_rotate (float angle, * Since: 1.4 */ void -cogl_multiply_matrix (const CoglMatrix *matrix); +cogl_transform (const CoglMatrix *matrix); /** * cogl_get_modelview_matrix: diff --git a/doc/reference/cogl/cogl-sections.txt b/doc/reference/cogl/cogl-sections.txt index 9a45a3d91..cde92d53e 100644 --- a/doc/reference/cogl/cogl-sections.txt +++ b/doc/reference/cogl/cogl-sections.txt @@ -27,6 +27,7 @@ cogl_pop_matrix cogl_scale cogl_translate cogl_rotate +cogl_transform cogl_frustum cogl_perspective cogl_ortho