Revision: 69078
          http://sourceforge.net/p/brlcad/code/69078
Author:   starseeker
Date:     2016-10-16 20:28:05 +0000 (Sun, 16 Oct 2016)
Log Message:
-----------
completely remove rt/nmg.h from nmg_class.c

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/nmg/nmg_class.c

Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_class.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_class.c   2016-10-16 20:06:14 UTC 
(rev 69077)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_class.c   2016-10-16 20:28:05 UTC 
(rev 69078)
@@ -50,11 +50,11 @@
 #include "bn/plane.h"
 #include "bn/plot3.h"
 #include "nmg.h"
-#include "rt/nmg.h"
 
-
 #define MAX_DIR_TRYS 10
 
+#define NMG_DOT_TOL 0.001
+
 /* XXX These should go the way of the dodo bird. */
 #define INSIDE 32
 #define ON_SURF 64
@@ -341,7 +341,7 @@
     VUNITIZE(ptvec);
 
     dot = VDOT(left, ptvec);
-    if (NEAR_ZERO(dot, RT_DOT_TOL)) {
+    if (NEAR_ZERO(dot, NMG_DOT_TOL)) {
        if (nmg_debug & DEBUG_CLASSIFY)
            bu_log("\t\tpt lies on line of edge, outside verts. Skipping this 
edge\n");
        goto out;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to