Revision: 45749
http://brlcad.svn.sourceforge.net/brlcad/?rev=45749&view=rev
Author: r_weiss
Date: 2011-08-01 20:45:24 +0000 (Mon, 01 Aug 2011)
Log Message:
-----------
Updated function 'nmg_class_pt_eu' within file 'nmg_pt_fu.c'. Changed a
floating point compare to 0.0 to using SMALL_FASTF.
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c
Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c 2011-08-01 20:38:01 UTC
(rev 45748)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c 2011-08-01 20:45:24 UTC
(rev 45749)
@@ -667,7 +667,7 @@
* if pt is inside/left of edge
*/
VSUB2(v_to_pt, fpi->pt, eu_pt);
- if (VDOT(v_to_pt, left) >= 0.0)
+ if (VDOT(v_to_pt, left) > -SMALL_FASTF)
ei->class = NMG_CLASS_AinB;
else
ei->class = NMG_CLASS_AoutB;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits