blob: d1f3a888078d3ad25d24fb37a86fe1b6cbfd8040 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "Mesh.hpp"
float* MC::Mesh::raw() {
return (float*)m_positions.data();
}
size_t MC::Mesh::size() {
return m_positions.size();
}
uint32_t* MC::Mesh::raw_indices() {
return m_indices.data();
}
size_t MC::Mesh::indices_size() {
return m_indices.size();
}
|