summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/blurfx.h
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-23 18:46:01 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-23 18:46:01 +0000
commit7ece21285f69b6faba2fe4c8ee25e2ef5e900831 (patch)
tree271dd6ad4f7ed4eeeaf28ff9450609e9fe458292 /beryl-plugins/src/blurfx.h
parent03201e771732849cb75ce55998d2f98c46a17883 (diff)
downloadmarex-dev-7ece21285f69b6faba2fe4c8ee25e2ef5e900831.tar.gz
marex-dev-7ece21285f69b6faba2fe4c8ee25e2ef5e900831.tar.bz2
beryl-core & plugins: moved redundant matrix manipulation routine in separate header file
git-svn-id: file:///beryl/trunk@1400 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/blurfx.h')
-rw-r--r--beryl-plugins/src/blurfx.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/beryl-plugins/src/blurfx.h b/beryl-plugins/src/blurfx.h
index ded8775..abea44a 100644
--- a/beryl-plugins/src/blurfx.h
+++ b/beryl-plugins/src/blurfx.h
@@ -85,24 +85,6 @@
*(data)++ = (x1); \
*(data)++ = (y1)
-#define MULTM(x,y,z) \
- z[0] = x[0] * y[0] + x[4] * y[1] + x[8] * y[2] + x[12] * y[3]; \
-z[1] = x[1] * y[0] + x[5] * y[1] + x[9] * y[2] + x[13] * y[3]; \
-z[2] = x[2] * y[0] + x[6] * y[1] + x[10] * y[2] + x[14] * y[3]; \
-z[3] = x[3] * y[0] + x[7] * y[1] + x[11] * y[2] + x[15] * y[3]; \
-z[4] = x[0] * y[4] + x[4] * y[5] + x[8] * y[6] + x[12] * y[7]; \
-z[5] = x[1] * y[4] + x[5] * y[5] + x[9] * y[6] + x[13] * y[7]; \
-z[6] = x[2] * y[4] + x[6] * y[5] + x[10] * y[6] + x[14] * y[7]; \
-z[7] = x[3] * y[4] + x[7] * y[5] + x[11] * y[6] + x[15] * y[7]; \
-z[8] = x[0] * y[8] + x[4] * y[9] + x[8] * y[10] + x[12] * y[11]; \
-z[9] = x[1] * y[8] + x[5] * y[9] + x[9] * y[10] + x[13] * y[11]; \
-z[10] = x[2] * y[8] + x[6] * y[9] + x[10] * y[10] + x[14] * y[11]; \
-z[11] = x[3] * y[8] + x[7] * y[9] + x[11] * y[10] + x[15] * y[11]; \
-z[12] = x[0] * y[12] + x[4] * y[13] + x[8] * y[14] + x[12] * y[15]; \
-z[13] = x[1] * y[12] + x[5] * y[13] + x[9] * y[14] + x[13] * y[15]; \
-z[14] = x[2] * y[12] + x[6] * y[13] + x[10] * y[14] + x[14] * y[15]; \
-z[15] = x[3] * y[12] + x[7] * y[13] + x[11] * y[14] + x[15] * y[15];
-
#ifdef GL_DEBUG
static GLenum gl_error;
#define GLERR gl_error=glGetError(); if (gl_error != GL_NO_ERROR) { fprintf (stderr,"GL error 0x%X has occured at %s:%d\n",gl_error,__FILE__,__LINE__); }