blob: a6d80d385b54378be4147cf8e4ce7f4e9f5eaff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <utility>
#include <vector>
#include <cstdint>
#include "Math/Math.hpp"
namespace MC {
class Mesh {
public:
Mesh(std::vector<Vector<3>> positions) : m_positions(std::move(positions)) {};
std::size_t size();
float* flat();
private:
std::vector<Vector<3>> m_positions;
};
}
|