Revision: 7516
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7516&view=rev
Author:   hsujohnhsu
Date:     2009-03-17 01:30:58 +0000 (Tue, 17 Mar 2009)

Log Message:
-----------
simple shape for displaying body CG.

Modified Paths:
--------------
    code/gazebo/branches/ogre-1.4.9/server/rendering/OgreCreator.cc

Modified: code/gazebo/branches/ogre-1.4.9/server/rendering/OgreCreator.cc
===================================================================
--- code/gazebo/branches/ogre-1.4.9/server/rendering/OgreCreator.cc     
2009-03-17 01:30:27 UTC (rev 7515)
+++ code/gazebo/branches/ogre-1.4.9/server/rendering/OgreCreator.cc     
2009-03-17 01:30:58 UTC (rev 7516)
@@ -68,6 +68,9 @@
   // Create some basic shapes
   OgreSimpleShape::CreateSphere("unit_sphere",1.0, 32, 32);
   OgreSimpleShape::CreateSphere("joint_anchor",0.01, 32, 32);
+  //OgreSimpleShape::CreateSphere("body_cg",0.01, 32, 32);
+  OgreSimpleShape::CreateBox("body_cg", Vector3(0.014,0.014,0.014), 
+                             Vector2<double>(0.014,0.014));
   OgreSimpleShape::CreateBox("unit_box_U1V1", Vector3(1,1,1), 
                              Vector2<double>(1,1));
   OgreSimpleShape::CreateCylinder("unit_cylinder", 0.5, 1.0, 1, 32);


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

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to