Commit 30075b13 authored by Romain Pacanowski's avatar Romain Pacanowski

added accessors

parent edea10bf
......@@ -125,6 +125,10 @@ class _Mesh : public Intersectable
std::string & absoluteFilepath() ;
std::string const & absoluteFilepath()const;
inline size_t numVertices() const { return _vertices.size() ; }
inline size_t numFaces() const { return _faces.size() / 3 ; }
//-----------------------------------------------------------------------
//Operator
//-----------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment