Ignore:
Timestamp:
04/16/09 18:55:13 (15 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/PlyConverter.h

    r3357 r3358  
    1313typedef std::vector<SimpleVec> VertexArray; 
    1414typedef std::pair<float, float> Texcoord; 
    15 typedef std::vector<SimpleVec> TexcoordArray; 
     15typedef std::vector<Texcoord> TexcoordArray; 
    1616typedef std::map<std::string, int> TextureTable; 
    1717typedef std::vector<std::string> TextureArray; 
     18 
     19 
     20struct Face 
     21{ 
     22        std::vector<int> indices; 
     23}; 
     24 
     25 
     26typedef std::vector<Face> FaceArray; 
     27 
    1828 
    1929 
     
    3747protected: 
    3848 
    39         void LoadShape(const VertexArray &faceVertices, 
    40                            const VertexArray &faceNormals, 
    41                                    const std::vector<Texcoord> &faceTexcoords 
     49        void LoadShape(const VertexArray &vertices, 
     50                                   const VertexArray &normals, 
     51                                   const TexcoordArray &texcoords, 
     52                                   const FaceArray &faces 
    4253                                   ); 
    4354 
Note: See TracChangeset for help on using the changeset viewer.