Revision: 54487
http://brlcad.svn.sourceforge.net/brlcad/?rev=54487&view=rev
Author: carlmoore
Date: 2013-02-26 18:43:31 +0000 (Tue, 26 Feb 2013)
Log Message:
-----------
make use of M_SQRT1_2
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c
Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c 2013-02-26 18:40:05 UTC
(rev 54486)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c 2013-02-26 18:43:31 UTC
(rev 54487)
@@ -862,7 +862,7 @@
VSUB2(vb, eu1->eumate_p->vu_p->v_p->vg_p->coord, hit_pt);
VUNITIZE(va);
VUNITIZE(vb);
- if (VDOT(va, vb) <= 0.7071) {
+ if (VDOT(va, vb) <= M_SQRT1_2) {
bu_bomb("nmg_break_3edge_at_plane() eu1 changes direction?\n");
}
}
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