9 #ifndef SE_MESH_FACE_HPP 10 #define SE_MESH_FACE_HPP 12 #include <Eigen/Dense> 19 template<
size_t NumVertexes>
21 std::array<Eigen::Vector3f, NumVertexes>
vertexes;
27 vertexes.fill(Eigen::Vector3f::Zero());
37 template<
typename FaceT>
38 using Mesh = std::vector<FaceT>;
48 #endif // SE_MESH_FACE_HPP MeshFace()
Definition: mesh.hpp:25
int8_t max_vertex_scale
Definition: mesh.hpp:22
MeshFace< 3 > Triangle
Definition: mesh.hpp:40
MeshFace< 4 > Quad
Definition: mesh.hpp:43
std::vector< FaceT > Mesh
Meshes are represented as lists of faces.
Definition: mesh.hpp:38
Mesh< Triangle > TriangleMesh
Definition: mesh.hpp:41
std::array< Eigen::Vector3f, NumVertexes > vertexes
Definition: mesh.hpp:21
Mesh< Quad > QuadMesh
Definition: mesh.hpp:44
static constexpr size_t num_vertexes
Definition: mesh.hpp:23
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17