summary refs log tree commit diff
path: root/src/Mesh.hpp
blob: acf4f3b42dad49af7f3f6857715af92a08a5493f (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<Vector3> positions) : m_positions(std::move(positions)) {};

    std::size_t size();
    float* flat();
private:
    std::vector<Vector3> m_positions;
};

}