cogl: renames cogl_multiply_matrix to cogl_transform

Although cogl_multiply_matrix was consistent with OpenGL, after further
consideration it was agreed that cogl_transform is a better name. Given
that it's in the global cogl_ namespace cogl_transform seems more self
documenting.
This commit is contained in:
Robert Bragg 2010-04-08 14:37:01 +01:00
parent 412a468d5e
commit 45885850d2
3 changed files with 4 additions and 3 deletions

View File

@ -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 ());

View File

@ -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:

View File

@ -27,6 +27,7 @@ cogl_pop_matrix
cogl_scale
cogl_translate
cogl_rotate
cogl_transform
cogl_frustum
cogl_perspective
cogl_ortho