Skip to content

Commit

Permalink
Set-up mesh class for inheritence
Browse files Browse the repository at this point in the history
  • Loading branch information
nitronoid committed Feb 21, 2018
1 parent 02e3393 commit 1b797f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/Mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
class Mesh
{
public:
//-----------------------------------------------------------------------------------------------------
/// @brief Virtual default destructor.
//-----------------------------------------------------------------------------------------------------
virtual ~Mesh() = default;
//-----------------------------------------------------------------------------------------------------
/// @brief Used to load a mesh from a file path.
/// @param [in] _fname is the path to the mesh file.
Expand Down Expand Up @@ -63,7 +67,7 @@ class Mesh
//-----------------------------------------------------------------------------------------------------
int getNData() const noexcept;

private:
protected:
//-----------------------------------------------------------------------------------------------------
/// @brief m_vertices contains the vertices
//-----------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 1b797f5

Please sign in to comment.