Revision: 54491
http://brlcad.svn.sourceforge.net/brlcad/?rev=54491&view=rev
Author: carlmoore
Date: 2013-02-26 20:04:07 +0000 (Tue, 26 Feb 2013)
Log Message:
-----------
use square root of 2
Modified Paths:
--------------
brlcad/trunk/src/conv/g-shell-rect.c
Modified: brlcad/trunk/src/conv/g-shell-rect.c
===================================================================
--- brlcad/trunk/src/conv/g-shell-rect.c 2013-02-26 19:41:33 UTC (rev
54490)
+++ brlcad/trunk/src/conv/g-shell-rect.c 2013-02-26 20:04:07 UTC (rev
54491)
@@ -1115,7 +1115,7 @@
VSUB2(diff, hit_pt, ref_data->mid_pt);
dist = MAGNITUDE(diff);
- if (dist <= use_tolerance || dist > 1.4142 * cell_size)
+ if (dist <= use_tolerance || dist > M_SQRT2 * cell_size)
return 0;
if (fd_plot) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits