mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
The iterator can now return chunked triangles instead of per element results
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Chunk.h
|
||||
#ifndef CHUNK_H
|
||||
#define CHUNK_H
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace IfcGeom {
|
||||
struct chunk {
|
||||
std::vector<double> verts;
|
||||
std::vector<int> faces;
|
||||
std::vector<int> materials;
|
||||
std::vector<int> material_ids;
|
||||
std::vector<std::vector<float>> colours;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user