Commit 9b1c93f5 authored by Kenneth Vanhoey's avatar Kenneth Vanhoey

binary import/export for SLF

parent 1cfd4e10
......@@ -575,7 +575,7 @@ bool exportPlySLFgenericBin(typename PFP::MAP& map, const typename PFP::TVEC3& p
// coefficients
for (unsigned int channel = 0 ; channel < 3 ; ++channel)
for(unsigned int coefI = 0 ; coefI < nbCoefs ; ++coefI)
out.write((char*)(&(coefs[vi][coefI])), sizeof(float)) ;
out.write((char*)(&(coefs[coefI][vi][channel])), sizeof(float)) ;
}
std::vector<unsigned int>::iterator it = faces.begin();
......
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