MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / export_faces

Method export_faces

src/IO/VEGAParser.cpp:181–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void VEGAParser::export_faces(int* buffer) {
182 size_t count=0;
183 for (FaceList::const_iterator fi=m_faces.begin();
184 fi != m_faces.end(); fi++) {
185 const VectorI& f = *fi;
186 assert(f.size() == m_vertex_per_face);
187 std::copy(f.data(), f.data() + m_vertex_per_face,
188 buffer + count*m_vertex_per_face);
189 count++;
190 }
191}
192
193void VEGAParser::export_voxels(int* buffer) {
194 size_t count = 0;

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected