summaryrefslogtreecommitdiff
path: root/engine/matrix.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-06-13 16:04:40 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-06-13 16:04:40 +0200
commitb4472061c4c23b59a6d4c52e34eb38e68d766807 (patch)
tree7450d92edc74a800312df9ab7bf8e34d3c2cfc6d /engine/matrix.h
parent0de601984c8af1d88affe1ac88d47cc9fe12de75 (diff)
Added wriggle. Moved vector- and matrix-classes to wriggle.
Diffstat (limited to 'engine/matrix.h')
-rw-r--r--engine/matrix.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/engine/matrix.h b/engine/matrix.h
deleted file mode 100644
index 8be483a..0000000
--- a/engine/matrix.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef MATRIX_H
-#define MATRIX_H
-
-#include "vector.h"
-
-template<int M, int N>
-class Matrix {
- public:
- float m[M][N];
-};
-
-class Matrix2 : Matrix<2, 2> {
- public:
- Matrix2();
- Matrix2(float m00, float m01, float m10, float m11);
-
- Matrix2 operator*(const Matrix2& mat);
-
- Matrix2 operator*(float f);
-
- Vector2 operator*(const Vector2& v);
-};
-
-Matrix2 rotation_matrix(float rot);
-
-#endif