From 8ec223cd4ffec8ff883e022db94714a0b814ae58 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 14 Oct 2022 13:30:15 +0200 Subject: Textured Cube --- src/Mesh.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Mesh.hpp') 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> positions, std::vector> tex_coords, std::vector indices) : m_positions(std::move(positions)), m_tex_coords(std::move(tex_coords)), m_indices(std::move(indices)) {}; + Mesh(std::vector> positions, std::vector> tex_coords) + : m_positions(std::move(positions)), m_tex_coords(std::move(tex_coords)), m_indices() {}; + float* raw(); size_t size(); -- cgit 1.4.1