Unravel Engine C++ Reference
Loading...
Searching...
No Matches
empty_mesh.hpp
Go to the documentation of this file.
1#ifndef GENERATOR_EMPTYMESH_HPP
2#define GENERATOR_EMPTYMESH_HPP
3
4#include "iterator.hpp"
5#include "mesh_vertex.hpp"
6#include "triangle.hpp"
7
8namespace generator
9{
10
13{
14public:
16 {
17 public:
18 triangle_t generate() const;
19 bool done() const noexcept;
20 void next();
21
22 private:
24
25 friend class empty_mesh;
26 };
27
29 {
30 public:
31 mesh_vertex_t generate() const;
32 bool done() const noexcept;
33 void next();
34
35 private:
36 vertices_t();
37
38 friend class empty_mesh;
39 };
40
42
43 triangles_t triangles() const noexcept;
44
45 vertices_t vertices() const noexcept;
46};
47} // namespace generator
48
49#endif
mesh_vertex_t generate() const
Empty Mesh with zero vertices and triangles.
vertices_t vertices() const noexcept
triangles_t triangles() const noexcept