Revision: 47007 http://brlcad.svn.sourceforge.net/brlcad/?rev=47007&view=rev Author: abhi2011 Date: 2011-09-30 23:57:07 +0000 (Fri, 30 Sep 2011) Log Message: ----------- Added code to display bounding boxes, recalculating the BB every iteration is causing boxes that have moved to stay bent in their new position as each bounding box is inserted as a new cube in the next iteration. This problem should disappear when contact points are calculated correctly
Modified Paths: -------------- brlcad/trunk/src/libged/simulate/simulate.c Modified: brlcad/trunk/src/libged/simulate/simulate.c =================================================================== --- brlcad/trunk/src/libged/simulate/simulate.c 2011-09-30 23:48:20 UTC (rev 47006) +++ brlcad/trunk/src/libged/simulate/simulate.c 2011-09-30 23:57:07 UTC (rev 47007) @@ -599,10 +599,9 @@ return GED_ERROR; } - /* Update the new bb center */ - /*current_node->bb_center[0] = m[12]; - current_node->bb_center[1] = m[13]; - current_node->bb_center[2] = m[14];*/ + insertAABB(gedp, sim_params, current_node); + + } return GED_OK; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits