src/io/PovrayWriter.cpp
void PovrayWriter::writeMesh2(ofstream& out, DataCollector<>& dataCollector)
    {
      // initialization and preparations
      //Mesh *mesh = dataCollector.getMesh();

      // begin of mesh2 block
      out << "mesh2 {" << endl;

      // delegate work to other methods
      writeVertexVectors(out, dataCollector);
      //writeTextureList(out, dataCollector);
      tryMeshTraversal(out);
      writeFaceIndices(out, dataCollector);
      out << "\t" << "pigment {rgb 1}" << endl;
      // end of mesh2 block
      out << "}" << endl;
    }
// writes the data in the 'mesh2' format
writes the data in the 'mesh2' format
writes the data in the ' mesh2 ' format
void PovrayWriter::writeMesh2(ofstream& out, DataCollector<>& dataCollector)
    {
      out << "mesh2 {" << endl;
      writeVertexVectors(out, dataCollector);
      tryMeshTraversal(out);
      writeFaceIndices(out, dataCollector);
      out << "\t" << "pigment {rgb 1}" << endl;
      out << "}" << endl;
    }
void PovrayWriter :: writeMesh2 ( ofstream & out , DataCollector < > & dataCollector ) { out << " " << endl ; writeVertexVectors ( out , dataCollector ) ; tryMeshTraversal ( out ) ; writeFaceIndices ( out , dataCollector ) ; out << " \t " << " " << endl ; out << " " << endl ; }
writes the data in the 'mesh2' format
writes the data in the ' mesh2 ' format
// initialization and preparations //Mesh *mesh = dataCollector.getMesh(); // begin of mesh2 block // delegate work to other methods //writeTextureList(out, dataCollector); // end of mesh2 block