Commit 66d4a8ec authored by Kenneth Vanhoey's avatar Kenneth Vanhoey

binary import/export for SLF

parent b50f7b2c
......@@ -582,9 +582,9 @@ bool exportPlySLFgenericBin(typename PFP::MAP& map, const typename PFP::TVEC3& p
while (it != faces.end())
{
unsigned int nbe = *it++;
out.write((char*)nbe, sizeof(unsigned int)) ;
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