summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Baer <roland@Vista.(none)>2007-08-31 13:40:51 +0300
committerKristian Lyngstol <kristian@nihilus.(none)>2007-09-11 23:11:45 +0200
commit7e5074fe349f0a5b220f11791e34e0c0c010fb86 (patch)
tree32dfd355ae39bae117565c951719df3241c4ea49
parentf7b362384a6f323e5a65b0b70d30d9d19717e5bf (diff)
downloadgears-7e5074fe349f0a5b220f11791e34e0c0c010fb86.tar.gz
gears-7e5074fe349f0a5b220f11791e34e0c0c010fb86.tar.bz2
Removed unused stuff
-rw-r--r--gears.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gears.c b/gears.c
index 7ba59b7..d7e4d60 100644
--- a/gears.c
+++ b/gears.c
@@ -34,26 +34,6 @@
#include <compiz-core.h>
#include <compiz-cube.h>
-
-#define DEG2RAD (M_PI / 180.0f)
-
-static const CompTransform identity =
-{
- {
- 1.0, 0.0, 0.0, 0.0,
- 0.0, 1.0, 0.0, 0.0,
- 0.0, 0.0, 1.0, 0.0,
- 0.0, 0.0, 0.0, 1.0
- }
-};
-
-#define MULTMV(m, v) { \
- float v0 = m[0]*v[0] + m[4]*v[1] + m[8]*v[2] + m[12]*v[3]; \
- float v1 = m[1]*v[0] + m[5]*v[1] + m[9]*v[2] + m[13]*v[3]; \
- float v2 = m[2]*v[0] + m[6]*v[1] + m[10]*v[2] + m[14]*v[3]; \
- float v3 = m[3]*v[0] + m[7]*v[1] + m[11]*v[2] + m[15]*v[3]; \
- v[0] = v0; v[1] = v1; v[2] = v2; v[3] = v3; }
-
static int displayPrivateIndex;
static int cubeDisplayPrivateIndex;