- Timestamp:
- 04/16/09 18:55:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/PlyConverter.h
r3357 r3358 13 13 typedef std::vector<SimpleVec> VertexArray; 14 14 typedef std::pair<float, float> Texcoord; 15 typedef std::vector< SimpleVec> TexcoordArray;15 typedef std::vector<Texcoord> TexcoordArray; 16 16 typedef std::map<std::string, int> TextureTable; 17 17 typedef std::vector<std::string> TextureArray; 18 19 20 struct Face 21 { 22 std::vector<int> indices; 23 }; 24 25 26 typedef std::vector<Face> FaceArray; 27 18 28 19 29 … … 37 47 protected: 38 48 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 42 53 ); 43 54
Note: See TracChangeset
for help on using the changeset viewer.