summary refs log tree commit diff
path: root/src/Mesh.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mesh.hpp')
-rw-r--r--src/Mesh.hpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/Mesh.hpp b/src/Mesh.hpp
deleted file mode 100644
index b601228..0000000
--- a/src/Mesh.hpp
+++ /dev/null
@@ -1,34 +0,0 @@
-#pragma once
-
-#include <utility>
-#include <vector>
-#include <cstdint>
-#include "Math/Math.hpp"
-
-namespace MC {
-
-class Mesh {
-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();
-
-    uint32_t* raw_indices();
-    size_t indices_size();
-
-    float* raw_tex_coords();
-    size_t tex_coords_size();
-
-private:
-    std::vector<Vector<3>> m_positions;
-    std::vector<Vector<2>> m_tex_coords;
-    std::vector<uint32_t> m_indices;
-
-};
-
-}
\ No newline at end of file