Revision: 52929
          http://brlcad.svn.sourceforge.net/brlcad/?rev=52929&view=rev
Author:   brlcad
Date:     2012-10-10 00:39:43 +0000 (Wed, 10 Oct 2012)
Log Message:
-----------
looks like a bug.  bounding box center was using the wrong midpoint for the 
xval.

Modified Paths:
--------------
    brlcad/trunk/src/other/openNURBS/opennurbs_box.cpp

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_box.cpp
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_box.cpp  2012-10-09 22:02:16 UTC 
(rev 52928)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_box.cpp  2012-10-10 00:39:43 UTC 
(rev 52929)
@@ -69,7 +69,7 @@
 
 ON_3dPoint ON_Box::Center() const
 {
-  return plane.PointAt(dz.Mid(),dy.Mid(),dz.Mid());
+  return plane.PointAt(dx.Mid(),dy.Mid(),dz.Mid());
 }
 
 bool ON_Box::GetCorners( ON_3dPoint* corners ) const

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


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to