[Cogl] [PATCH 08/53] matrix: Remove deprecated cogl_matrix_ortho()

Damien Lespiau damien.lespiau at gmail.com
Tue Jan 1 06:30:44 PST 2013


From: Damien Lespiau <damien.lespiau at intel.com>

Replaced by cogl_matrix_orthographic()
---
 cogl/cogl-matrix.c |   13 -------------
 cogl/cogl-matrix.h |   27 ---------------------------
 2 files changed, 0 insertions(+), 40 deletions(-)

diff --git a/cogl/cogl-matrix.c b/cogl/cogl-matrix.c
index 0ee28d2..278750a 100644
--- a/cogl/cogl-matrix.c
+++ b/cogl/cogl-matrix.c
@@ -1496,19 +1496,6 @@ _cogl_matrix_orthographic (CoglMatrix *matrix,
 }
 
 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,
                           float y_1,
diff --git a/cogl/cogl-matrix.h b/cogl/cogl-matrix.h
index 3284a3b..05cab4f 100644
--- a/cogl/cogl-matrix.h
+++ b/cogl/cogl-matrix.h
@@ -372,33 +372,6 @@ cogl_matrix_orthographic (CoglMatrix *matrix,
                           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()
- */
-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
  * @left: coord of left vertical clipping plane
-- 
1.7.7.5



More information about the Cogl mailing list