fix for meshes

This commit is contained in:
Hartmut Seichter 2019-01-17 14:18:17 +01:00
parent 05dea19436
commit f82f52a031
2 changed files with 8 additions and 4 deletions

View file

@ -51,10 +51,15 @@ public:
const indexarray_t& indices() const { return _indices; }
const vertex3array_t& vertices() const { return _vertices; }
void set_topology(topology_type t) { _topology = t; }
topology_type topology() { return _topology; }
void reset();
protected:
topology_type _topology;
indexarray_t _indices; //!< indices according to topology type
vertex3array_t _vertices; //!< geometry data
vertex3array_t _normals; //!< normal data