Commit 72193ff6 authored by Pierre Kraemer's avatar Pierre Kraemer

Merge cgogn:~vanhoey/CGoGN

parents befe3a89 c2d3d7c9
......@@ -384,7 +384,9 @@ bool MeshTablesSurface<PFP>::importMeshBin(const std::string& filename, std::vec
AttributeHandler<typename PFP::VEC3> positions = m_map.template getAttribute<typename PFP::VEC3>(VERTEX, "position") ;
if (!positions.isValid())
{
positions = m_map.template addAttribute<typename PFP::VEC3>(VERTEX, "position") ;
}
attrNames.push_back(positions.name()) ;
......@@ -413,7 +415,7 @@ bool MeshTablesSurface<PFP>::importMeshBin(const std::string& filename, std::vec
for (unsigned int vxNum = 0 ; vxNum < m_nbVertices ; ++vxNum)
{
VEC3 pos ;
Geom::Vec3f pos ;
fp.read((char*) &pos[0], sizeof(float)) ;
fp.read((char*) &pos[1], sizeof(float)) ;
fp.read((char*) &pos[2], sizeof(float)) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment