diff options
Diffstat (limited to 'src/Mesh.hpp')
| -rw-r--r-- | src/Mesh.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mesh.hpp b/src/Mesh.hpp index 50fc629..b601228 100644 --- a/src/Mesh.hpp +++ b/src/Mesh.hpp @@ -12,6 +12,9 @@ public: Mesh(std::vector<Vector<3>> positions, std::vector<Vector<2>> tex_coords, std::vector<uint32_t> indices) : m_positions(std::move(positions)), m_tex_coords(std::move(tex_coords)), m_indices(std::move(indices)) {}; + Mesh(std::vector<Vector<3>> positions, std::vector<Vector<2>> tex_coords) + : m_positions(std::move(positions)), m_tex_coords(std::move(tex_coords)), m_indices() {}; + float* raw(); size_t size(); |
