summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorleo2002-08-08 23:50:59 +0000
committerleo2002-08-08 23:50:59 +0000
commite4aeb305835b6490eb4f7f6e337511cd815b02ae (patch)
tree369630335004cc5226553274da21257f11b07076 /common
parent1693babb73090198d869d625102c05abe4eada7f (diff)
Fixed a math bug.
git-svn-id: http://svn.leocad.org/trunk@295 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common')
-rw-r--r--common/matrix.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/matrix.cpp b/common/matrix.cpp
index c434d53..e232d08 100644
--- a/common/matrix.cpp
+++ b/common/matrix.cpp
@@ -220,10 +220,11 @@ void Matrix::Rotate (float angle, float x, float y, float z)
rotation_matrix(angle, x, y, z, rm);
matmul(rm, rm, m);
memcpy (&m[0], &rm[0], sizeof(rm));
-
+/*
for (int i = 0; i < 12; i++)
if (fabs (m[i]) < .001f)
m[i] = 0;
+*/
}
void Matrix::RotateCenter (float angle, float x, float y, float z, float px, float py, float pz)