mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
cogl: Remove unused deprecated cogl_matrix_ortho
https://gitlab.gnome.org/GNOME/mutter/merge_requests/933
This commit is contained in:
parent
794d3239c7
commit
0d006bc8d9
@ -1476,19 +1476,6 @@ _cogl_matrix_orthographic (CoglMatrix *matrix,
|
||||
MAT_FLAG_TRANSLATION));
|
||||
}
|
||||
|
||||
void
|
||||
cogl_matrix_ortho (CoglMatrix *matrix,
|
||||
float left,
|
||||
float right,
|
||||
float bottom,
|
||||
float top,
|
||||
float near,
|
||||
float far)
|
||||
{
|
||||
_cogl_matrix_orthographic (matrix, left, top, right, bottom, near, far);
|
||||
_COGL_MATRIX_DEBUG_PRINT (matrix);
|
||||
}
|
||||
|
||||
void
|
||||
cogl_matrix_orthographic (CoglMatrix *matrix,
|
||||
float x_1,
|
||||
|
@ -374,34 +374,6 @@ cogl_matrix_orthographic (CoglMatrix *matrix,
|
||||
float near,
|
||||
float far);
|
||||
|
||||
/**
|
||||
* cogl_matrix_ortho:
|
||||
* @matrix: A 4x4 transformation matrix
|
||||
* @left: The coordinate for the left clipping plane
|
||||
* @right: The coordinate for the right clipping plane
|
||||
* @bottom: The coordinate for the bottom clipping plane
|
||||
* @top: The coordinate for the top clipping plane
|
||||
* @near: The <emphasis>distance</emphasis> to the near clipping
|
||||
* plane (will be <emphasis>negative</emphasis> if the plane is
|
||||
* behind the viewer)
|
||||
* @far: The <emphasis>distance</emphasis> to the far clipping
|
||||
* plane (will be <emphasis>negative</emphasis> if the plane is
|
||||
* behind the viewer)
|
||||
*
|
||||
* Multiplies @matrix by a parallel projection matrix.
|
||||
*
|
||||
* Deprecated: 1.10: Use cogl_matrix_orthographic()
|
||||
*/
|
||||
COGL_DEPRECATED_FOR (cogl_matrix_orthographic)
|
||||
void
|
||||
cogl_matrix_ortho (CoglMatrix *matrix,
|
||||
float left,
|
||||
float right,
|
||||
float bottom,
|
||||
float top,
|
||||
float near,
|
||||
float far);
|
||||
|
||||
/**
|
||||
* cogl_matrix_view_2d_in_frustum:
|
||||
* @matrix: A 4x4 transformation matrix
|
||||
|
@ -440,9 +440,6 @@ cogl_matrix_init_from_euler
|
||||
cogl_matrix_init_identity
|
||||
cogl_matrix_look_at
|
||||
cogl_matrix_multiply
|
||||
#ifndef COGL_DISABLE_DEPRECATED
|
||||
cogl_matrix_ortho
|
||||
#endif
|
||||
cogl_matrix_orthographic
|
||||
cogl_matrix_perspective
|
||||
cogl_matrix_project_points
|
||||
|
Loading…
Reference in New Issue
Block a user