Commit 8aa6cff3 authored by Kenneth Vanhoey's avatar Kenneth Vanhoey

binary import/export for SLF

parent 66d4a8ec
......@@ -584,7 +584,7 @@ bool exportPlySLFgenericBin(typename PFP::MAP& map, const typename PFP::TVEC3& p
unsigned int nbe = *it++;
out.write((char*)&nbe, sizeof(unsigned int)) ;
for(unsigned int j = 0; j < nbe; ++j)
out.write((char*)(it++), sizeof(unsigned int)) ;
out.write((char*)(&(*it++)), sizeof(unsigned int)) ;
}
out.close() ;
......
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