PLY Writer normal support (Thanks to Bruno Dutailly)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@478 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-12-01 16:55:24 +00:00
parent 7d092c7465
commit 73f5a1fe89
2 changed files with 31 additions and 5 deletions

View File

@@ -326,12 +326,12 @@ bool _PLYReader_::read_binary(std::istream& _in, BaseImporter& _bi, bool /*_swap
unsigned int i, j, k, l, idx;
unsigned int nV;
OpenMesh::Vec3f v, n; // Vertex
OpenMesh::Vec2f t; // TexCoords
OpenMesh::Vec3f v, n; // Vertex
OpenMesh::Vec2f t; // TexCoords
BaseImporter::VHandles vhandles;
VertexHandle vh;
OpenMesh::Vec4i c; // Color
float tmp;
VertexHandle vh;
OpenMesh::Vec4i c; // Color
float tmp;
_bi.reserve(vertexCount_, 3* vertexCount_ , faceCount_);