Revision: 7694 http://playerstage.svn.sourceforge.net/playerstage/?rev=7694&view=rev Author: hsujohnhsu Date: 2009-05-19 17:58:30 +0000 (Tue, 19 May 2009)
Log Message: ----------- rotating bounding box visuals. (why is translation not needed here?) Modified Paths: -------------- code/gazebo/trunk/server/physics/Geom.cc Modified: code/gazebo/trunk/server/physics/Geom.cc =================================================================== --- code/gazebo/trunk/server/physics/Geom.cc 2009-05-19 14:33:39 UTC (rev 7693) +++ code/gazebo/trunk/server/physics/Geom.cc 2009-05-19 17:58:30 UTC (rev 7694) @@ -184,7 +184,11 @@ visname.str(), this->visualNode); if (this->bbVisual) + { this->bbVisual->AttachBoundingBox(min,max); + //this->bbVisual->SetPosition(pose.pos); + this->bbVisual->SetRotation(pose.rot); + } } if (this->geomId && dGeomGetClass(this->geomId) != dPlaneClass && This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit