bbox.cpp

changeset 62
915fc477cb6a
parent 61
109b07334fa0
child 70
e6b8dab8f81a
--- a/bbox.cpp	Thu Mar 21 18:26:57 2013 +0200
+++ b/bbox.cpp	Sun Mar 24 01:05:59 2013 +0200
@@ -115,7 +115,8 @@
 	} else if (fYScale > fZScale)
 		fSize = fYScale;
 	
-	if (fSize >= 2.0f)
-		return (fSize / 2);
+	printf ("fsize: %f\n", fSize);
+	if (abs (fSize) >= 2.0f)
+		return abs (fSize / 2);
 	return 1.0f;
 }

mercurial