mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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:
parent
58e4ec0798
commit
d1353b3c1a
@ -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 ());
|
||||
|
@ -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:
|
||||
|
@ -27,6 +27,7 @@ cogl_pop_matrix
|
||||
cogl_scale
|
||||
cogl_translate
|
||||
cogl_rotate
|
||||
cogl_transform
|
||||
cogl_frustum
|
||||
cogl_perspective
|
||||
cogl_ortho
|
||||
|
Loading…
Reference in New Issue
Block a user