git-svn-id: svn://anubis/fart/trunk@13 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-01-20 01:42:05 +00:00
1 parent 739f1f4fac
commit 151a8895a8
3 files changed
+16

No files matched your search

+7
View File
@@ -1,5 +1,8 @@
#include "Matrix.h"
#include <math.h> /* fabs() */
#define FP_EQ(x,y) (fabs((x)-(y)) < 0.00001)
Matrix::Matrix()
{
@@ -193,3 +196,7 @@ Vector operator*(const Matrix & m, const Vector & v)
}
return res;
}
bool operator==(const Matrix & m1, const Matrix & m2)
{
}
+1
View File
@@ -24,6 +24,7 @@ class Matrix
Matrix operator*(const Matrix & m1, const Matrix & m2);
Vector operator*(const Matrix & m, const Vector & v);
bool operator==(const Matrix & m1, const Matrix & m2);
#endif