diff options
| author | Mel <einebeere@gmail.com> | 2022-10-01 16:59:29 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-01 16:59:29 +0200 |
| commit | aca1326e7e3cc4c06e29b92dca256673b46aa510 (patch) | |
| tree | c7cb614990afa3140700448ab1c89091e1f6e347 /src/Mesh.hpp | |
| parent | e2234b4afebb266878435d10267e7b162b1fe984 (diff) | |
| download | meowcraft-aca1326e7e3cc4c06e29b92dca256673b46aa510.tar.zst meowcraft-aca1326e7e3cc4c06e29b92dca256673b46aa510.zip | |
Triangle
Diffstat (limited to 'src/Mesh.hpp')
| -rw-r--r-- | src/Mesh.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Mesh.hpp b/src/Mesh.hpp new file mode 100644 index 0000000..acf4f3b --- /dev/null +++ b/src/Mesh.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include <utility> +#include <vector> +#include <cstdint> +#include "Math/Math.hpp" + +namespace MC { + +class Mesh { +public: + Mesh(std::vector<Vector3> positions) : m_positions(std::move(positions)) {}; + + std::size_t size(); + float* flat(); +private: + std::vector<Vector3> m_positions; +}; + +} \ No newline at end of file |
