Revision: 76844
http://sourceforge.net/p/brlcad/code/76844
Author: starseeker
Date: 2020-08-19 02:06:49 +0000 (Wed, 19 Aug 2020)
Log Message:
-----------
Dust off the root3 subdivision test program.
Modified Paths:
--------------
brlcad/trunk/src/librt/test_root3-subd.cpp
Modified: brlcad/trunk/src/librt/test_root3-subd.cpp
===================================================================
--- brlcad/trunk/src/librt/test_root3-subd.cpp 2020-08-19 01:44:46 UTC (rev
76843)
+++ brlcad/trunk/src/librt/test_root3-subd.cpp 2020-08-19 02:06:49 UTC (rev
76844)
@@ -30,7 +30,8 @@
#include "vmath.h"
#include "raytrace.h"
#include "wdb.h"
-#include "plot3.h"
+#include "bu/app.h"
+#include "bn/plot3.h"
#include "opennurbs.h"
@@ -523,7 +524,7 @@
}
RT_BOT_CK_MAGIC(bot_ip);
- for (size_t i_cnt = 1; i_cnt < 3; i_cnt++) {
+ for (size_t i_cnt = 1; i_cnt < 7; i_cnt++) {
mesh = iterate(bot_ip, prev_mesh);
prev_mesh = mesh;
@@ -530,7 +531,7 @@
// Plot results
struct bu_vls fname;
bu_vls_init(&fname);
- bu_vls_printf(&fname, "root3_%d.pl", i_cnt);
+ bu_vls_printf(&fname, "root3_%zd.pl", i_cnt);
FILE* plot_file = fopen(bu_vls_addr(&fname), "w");
std::map<size_t, std::vector<size_t> >::iterator f_it;
std::vector<size_t>::iterator l_it;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits