Skip to content
Snippets Groups Projects
Commit 70b4acff authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

oops forgot to output vertex coords

parent f529232c
No related branches found
No related tags found
No related merge requests found
......@@ -108,8 +108,9 @@ int GModel::writeCELUM(const std::string &name, bool saveAll,
for(unsigned int i = 0; i < vvec.size(); i++){
MVertex *v = vvec[i];
std::map<MVertex *, CelumInfo>::iterator it = vmap.find(v);
fprintf(fps, "%d %g %g %g %g %g %g %g %g %g %g %g\n\n",
it->first->getIndex(), it->second.normal.x(), it->second.normal.y(),
fprintf(fps, "%d %g %g %g %g %g %g %g %g %g %g %g %g %g %g\n\n",
it->first->getIndex(), it->first->x(), it->first->y(), it->first->z(),
it->second.normal.x(), it->second.normal.y(),
it->second.normal.z(), it->second.curvMin, it->second.curvMax,
it->second.dirMin.x(), it->second.dirMin.y(), it->second.dirMin.z(),
it->second.dirMax.x(), it->second.dirMax.y(), it->second.dirMax.z());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment