summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-09-10 15:25:23 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-09-25 11:19:51 -0300
commit043871064ea50f522a00bdbbd221f5a2b352e1f7 (patch)
treec090d8d245079775f1918317e9a69de65966e781
parent7e0eb75d37e5d9d5cc2352561773785fff66ce90 (diff)
downloadmutter-043871064ea50f522a00bdbbd221f5a2b352e1f7.tar.gz
cogl/matrix: Remove unused defines
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
-rw-r--r--cogl/cogl/cogl-matrix.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/cogl/cogl/cogl-matrix.c b/cogl/cogl/cogl-matrix.c
index 2371d2132..5a4684654 100644
--- a/cogl/cogl/cogl-matrix.c
+++ b/cogl/cogl/cogl-matrix.c
@@ -86,20 +86,6 @@ COGL_GTYPE_DEFINE_BOXED (Matrix, matrix,
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
*
* Bitmasks to indicate different kinds of 4x4 matrices in CoglMatrix::flags