[cogl] matrix: Remove deprecated cogl_matrix_ortho()



commit 9d88862e9cb015dfbef7d8c3cf3e87c60d1c0a00
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sat Dec 29 20:51:33 2012 +0000

    matrix: Remove deprecated cogl_matrix_ortho()
    
    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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]