From e4aeb305835b6490eb4f7f6e337511cd815b02ae Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 8 Aug 2002 23:50:59 +0000 Subject: Fixed a math bug. git-svn-id: http://svn.leocad.org/trunk@295 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/matrix.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') 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) -- cgit v1.2.3