Revision: 8978
http://playerstage.svn.sourceforge.net/playerstage/?rev=8978&view=rev
Author: natepak
Date: 2010-11-25 01:10:06 +0000 (Thu, 25 Nov 2010)
Log Message:
-----------
Added RenderTypes
Added Paths:
-----------
code/gazebo/branches/dev/server/rendering/RenderTypes.hh
Added: code/gazebo/branches/dev/server/rendering/RenderTypes.hh
===================================================================
--- code/gazebo/branches/dev/server/rendering/RenderTypes.hh
(rev 0)
+++ code/gazebo/branches/dev/server/rendering/RenderTypes.hh 2010-11-25
01:10:06 UTC (rev 8978)
@@ -0,0 +1,25 @@
+#ifndef RENDERING_HH
+#define RENDERING_HH
+
+enum OperationType
+{
+ /// A list of points, 1 vertex per point
+ RENDERING_POINT_LIST = 0,//Ogre::RenderOperation::OT_POINT_LIST,
+
+ /// A list of lines, 2 vertices per line
+ RENDERING_LINE_LIST = 1,//Ogre::RenderOperation::OT_LINE_LIST,
+
+ /// A strip of connected lines, 1 vertex per line plus 1 start vertex
+ RENDERING_LINE_STRIP = 2,//Ogre::RenderOperation::OT_LINE_STRIP,
+
+ /// A list of triangles, 3 vertices per triangle
+ RENDERING_TRIANGLE_LIST = 3,//Ogre::RenderOperation::OT_TRIANGLE_LIST,
+
+ /// A strip of triangles, 3 vertices for the first triangle, and 1 per
triangle after that
+ RENDERING_TRIANGLE_STRIP = 4,//Ogre::RenderOperation::OT_TRIANGLE_STRIP,
+
+ /// A fan of triangles, 3 vertices for the first triangle, and 1 per
triangle after that
+ RENDERING_TRIANGLE_FAN = 5,//Ogre::RenderOperation::OT_TRIANGLE_FAN
+};
+
+#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit