Revision: 7697
http://playerstage.svn.sourceforge.net/playerstage/?rev=7697&view=rev
Author: hsujohnhsu
Date: 2009-05-19 21:17:11 +0000 (Tue, 19 May 2009)
Log Message:
-----------
bounding box visual fix.
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 18:01:25 UTC (rev
7696)
+++ code/gazebo/trunk/server/physics/Geom.cc 2009-05-19 21:17:11 UTC (rev
7697)
@@ -186,8 +186,7 @@
if (this->bbVisual)
{
this->bbVisual->AttachBoundingBox(min,max);
- //this->bbVisual->SetPosition(pose.pos);
- this->bbVisual->SetRotation(pose.rot);
+ this->bbVisual->SetRotation(pose.rot.GetInverse()); //transform aabb
from global frame back to local frame
}
}
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit