fix for meshes
This commit is contained in:
parent
05dea19436
commit
f82f52a031
2 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue