diff options
| author | Mel <einebeere@gmail.com> | 2022-10-14 13:30:15 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-14 13:30:15 +0200 |
| commit | 8ec223cd4ffec8ff883e022db94714a0b814ae58 (patch) | |
| tree | 65347fb1981ce2bb76ac84e0a82ab215f92a9fe0 /src/Mesh.hpp | |
| parent | cb3ddae385c03a8830d39dc37fcd5bf273524d5e (diff) | |
| download | meowcraft-8ec223cd4ffec8ff883e022db94714a0b814ae58.tar.zst meowcraft-8ec223cd4ffec8ff883e022db94714a0b814ae58.zip | |
Textured Cube
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(); |
