PlyStructure.h
Go to the documentation of this file.
00001  
00002 #ifndef PLY_STRUCTURE
00003 #define PLY_STRUCTURE
00004 
00005 namespace TomGine{
00006   
00007 struct PlyVertex {
00008         float x,y,z;                // spatial position
00009         float nx, ny, nz;           // normal vector
00010         float s, t;
00011         unsigned char r, g, b;      // color
00012 };
00013 
00014 struct PlyFace {
00015         unsigned short nverts;      // number of vertices used for the face (Quad=4, Triangle=3)
00016         unsigned int* v;            // pointer to memory holding the vertex-index list
00017 };
00018 
00019 struct PlyEdge {
00020         unsigned short start;       // start vertex index
00021         unsigned short end;         // end vertex index
00022 };
00023 
00024 }
00025 
00026 #endif


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:25