Revision: 69053
          http://sourceforge.net/p/brlcad/code/69053
Author:   starseeker
Date:     2016-10-14 00:05:08 +0000 (Fri, 14 Oct 2016)
Log Message:
-----------
Start backing down the include headers in the nurbs code.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/bspline/nurb_basis.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_bezier.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_bound.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_c2.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_copy.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_diff.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_eval.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_flat.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_interp.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_knot.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_norm.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_plot.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_poly.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_refine.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_reverse.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_solve.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_split.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_tess.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_trim.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_trim_util.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_util.c
    brlcad/trunk/src/librt/primitives/bspline/nurb_xsplit.c

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_basis.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_basis.c      2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_basis.c      2016-10-14 
00:05:08 UTC (rev 69053)
@@ -30,7 +30,8 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 /**

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_bezier.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_bezier.c     2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_bezier.c     2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,8 +32,9 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/list.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_bound.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_bound.c      2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_bound.c      2016-10-14 
00:05:08 UTC (rev 69053)
@@ -36,7 +36,9 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bu/log.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_c2.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_c2.c 2016-10-13 21:11:38 UTC 
(rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_c2.c 2016-10-14 00:05:08 UTC 
(rev 69053)
@@ -32,7 +32,9 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bn/mat.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_copy.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_copy.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_copy.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,7 +32,7 @@
 
 #include "vmath.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 struct face_g_snurb *

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_diff.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_diff.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_diff.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,7 +32,7 @@
 
 #include "vmath.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_eval.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_eval.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_eval.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -33,8 +33,9 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/malloc.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_flat.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_flat.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_flat.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -33,7 +33,9 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bu/malloc.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 /* This doesn't seem to be used anymore: */

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_interp.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_interp.c     2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_interp.c     2016-10-14 
00:05:08 UTC (rev 69053)
@@ -33,7 +33,9 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bu/malloc.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_knot.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_knot.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_knot.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,7 +32,10 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bu/malloc.h"
+#include "nmg.h"
+#include "rt/hit.h"
+#include "rt/resource.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_norm.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_norm.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_norm.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,7 +32,8 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_plot.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_plot.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_plot.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,9 +32,10 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bn/plot3.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
-#include "bn/plot3.h"
 
 
 void

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_poly.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_poly.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_poly.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,7 +32,9 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bu/malloc.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c        2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_ray.c        2016-10-14 
00:05:08 UTC (rev 69053)
@@ -31,8 +31,13 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/malloc.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/debug.h"
+#include "rt/wdb.h"
+#include "rt/global.h"
+#include "rt/nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_refine.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_refine.c     2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_refine.c     2016-10-14 
00:05:08 UTC (rev 69053)
@@ -33,8 +33,9 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/malloc.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_reverse.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_reverse.c    2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_reverse.c    2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,8 +32,9 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/malloc.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 void

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_solve.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_solve.c      2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_solve.c      2016-10-14 
00:05:08 UTC (rev 69053)
@@ -39,7 +39,9 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "bu/malloc.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_split.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_split.c      2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_split.c      2016-10-14 
00:05:08 UTC (rev 69053)
@@ -33,8 +33,9 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/malloc.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_tess.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_tess.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_tess.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -34,7 +34,8 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 /**

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_trim.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_trim.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_trim.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,7 +32,8 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 extern void rt_clip_cnurb(struct bu_list *plist, struct edge_g_cnurb *crv, 
fastf_t u, fastf_t v);

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_trim_util.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_trim_util.c  2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_trim_util.c  2016-10-14 
00:05:08 UTC (rev 69053)
@@ -32,7 +32,8 @@
 #include "bio.h"
 
 #include "vmath.h"
-#include "raytrace.h"
+#include "nmg.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 /**

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_util.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_util.c       2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_util.c       2016-10-14 
00:05:08 UTC (rev 69053)
@@ -31,8 +31,10 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/malloc.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
+#include "rt/resource.h"
 #include "rt/nurb.h"
 
 /**

Modified: brlcad/trunk/src/librt/primitives/bspline/nurb_xsplit.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/nurb_xsplit.c     2016-10-13 
21:11:38 UTC (rev 69052)
+++ brlcad/trunk/src/librt/primitives/bspline/nurb_xsplit.c     2016-10-14 
00:05:08 UTC (rev 69053)
@@ -33,8 +33,9 @@
 #include "bio.h"
 
 #include "vmath.h"
+#include "bu/malloc.h"
 #include "nmg.h"
-#include "raytrace.h"
+#include "rt/hit.h"
 #include "rt/nurb.h"
 
 

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