From 7fa84cdf36a4405007bd98be640288fe5d300d6a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 3 Sep 2013 20:31:13 +0000 Subject: [PATCH] math: remove debug code. --- src/math/vector.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/math/vector.cpp b/src/math/vector.cpp index ef6371b1..59c9de26 100644 --- a/src/math/vector.cpp +++ b/src/math/vector.cpp @@ -504,9 +504,7 @@ template<> quat quat::rotate(float degrees, float x, float y, float z) template<> quat quat::rotate(vec3 const &src, vec3 const &dst) { vec3 v = cross(src, dst); -v.printf(); float d = dot(src, dst) + lol::sqrt(sqlength(src) * sqlength(dst)); -fprintf(stderr, "%f + %f = %f\n", dot(src, dst), lol::sqrt(sqlength(src) * sqlength(dst)), d); return normalize(quat(d, v.x, v.y, v.z)); }