[mutter/gbsneto/graphene-matrix: 32/41] cogl/matrix: Remove unused defines
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/graphene-matrix: 32/41] cogl/matrix: Remove unused defines
- Date: Fri, 11 Sep 2020 12:43:58 +0000 (UTC)
commit f05a3acb334b60f7dcf2c07d8bd8257e93e9a753
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Sep 10 15:25:23 2020 -0300
cogl/matrix: Remove unused defines
cogl/cogl/cogl-matrix.c | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/cogl/cogl/cogl-matrix.c b/cogl/cogl/cogl-matrix.c
index 0e41a33bdf..9f423108aa 100644
--- a/cogl/cogl/cogl-matrix.c
+++ b/cogl/cogl/cogl-matrix.c
@@ -85,20 +85,6 @@ COGL_GTYPE_DEFINE_BOXED (Matrix, matrix,
cogl_matrix_copy,
cogl_matrix_free);
-/*
- * Symbolic names to some of the entries in the matrix
- *
- * These are handy for the viewport mapping, which is expressed as a matrix.
- */
-#define MAT_SX 0
-#define MAT_SY 5
-#define MAT_SZ 10
-#define MAT_TX 12
-#define MAT_TY 13
-#define MAT_TZ 14
-
-#define LEN_SQUARED_3FV( V ) ((V)[0]*(V)[0]+(V)[1]*(V)[1]+(V)[2]*(V)[2])
-
/*
* \defgroup MatFlags MAT_FLAG_XXX-flags
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]