Revision: 50641
          http://brlcad.svn.sourceforge.net/brlcad/?rev=50641&view=rev
Author:   phoenixyjll
Date:     2012-05-23 15:10:38 +0000 (Wed, 23 May 2012)
Log Message:
-----------
Fixed the wrong revolution axis: the endpoint should be v3d+axis3d. Further 
modifications are still needed.

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

Modified: brlcad/trunk/src/librt/primitives/revolve/revolve_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/revolve/revolve_brep.cpp  2012-05-23 
15:10:21 UTC (rev 50640)
+++ brlcad/trunk/src/librt/primitives/revolve/revolve_brep.cpp  2012-05-23 
15:10:38 UTC (rev 50641)
@@ -225,9 +225,10 @@
        }
     }
 
+    vect_t endpoint;
+    VADD2(endpoint, rip->v3d, rip->axis3d);
+    const ON_Line& revaxis = ON_Line(ON_3dPoint(rip->v3d), 
ON_3dPoint(endpoint));
 
-    const ON_Line& revaxis = ON_Line(ON_3dPoint(rip->v3d), 
ON_3dPoint(rip->axis3d));
-
     FindLoops(b, &revaxis);
 
     bu_free(tmp_internal, "free temporary rt_db_internal");

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to