Revision: 42160
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42160&view=rev
Author:   brlcad
Date:     2011-01-12 18:59:57 +0000 (Wed, 12 Jan 2011)

Log Message:
-----------
VMOVE before we print the value.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/brep/brep.cpp

Modified: brlcad/trunk/src/librt/primitives/brep/brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/brep/brep.cpp     2011-01-12 18:59:29 UTC 
(rev 42159)
+++ brlcad/trunk/src/librt/primitives/brep/brep.cpp     2011-01-12 18:59:57 UTC 
(rev 42160)
@@ -2084,6 +2084,7 @@
                point_t prev;
 
                brep_hit &out = *i;
+               VMOVE(prev, out.point);
 
                if (i != hits.begin()) {
                    bu_log("<%g>", DIST_PT_PT(out.point, prev));
@@ -2095,7 +2096,7 @@
                if (out.hit == brep_hit::NEAR_MISS) bu_log("_NM_(%d)", 
out.face.m_face_index);
                if (out.direction == brep_hit::ENTERING) bu_log("+");
                if (out.direction == brep_hit::LEAVING) bu_log("-");
-               VMOVE(prev, out.point);
+
                bu_log(")");
            }
            bu_log("\n**** Orig Hits: %zu\n", orig.size());
@@ -2104,6 +2105,7 @@
                point_t prev;
 
                brep_hit &out = *i;
+               VMOVE(prev, out.point);
 
                if (i != orig.begin()) {
                    bu_log("<%g>", DIST_PT_PT(out.point, prev));
@@ -2116,7 +2118,7 @@
                if (out.direction == brep_hit::ENTERING) bu_log("+");
                if (out.direction == brep_hit::LEAVING) bu_log("-");
                bu_log("<%d>", out.sbv->m_face->m_bRev);
-               VMOVE(prev, out.point);
+
                bu_log(")");
            }
 


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to