Unravel Engine C++ Reference
Loading...
Searching...
No Matches
icosphere_mesh.hpp
Go to the documentation of this file.
1#ifndef GENERATOR_ICOSPHEREMESH_HPP
2#define GENERATOR_ICOSPHEREMESH_HPP
3
5#include "spherify_mesh.hpp"
6
7namespace generator
8{
9
13{
14private:
16 impl_t spherify_mesh_;
17
18public:
21 ico_sphere_mesh_t(double radius = 1.0, int segments = 4);
22
24
25 triangles_t triangles() const noexcept
26 {
27 return spherify_mesh_.triangles();
28 }
29
31
32 vertices_t vertices() const noexcept
33 {
34 return spherify_mesh_.vertices();
35 }
36};
37} // namespace generator
38
39#endif
typename impl_t::vertices_t vertices_t
typename impl_t::triangles_t triangles_t
ico_sphere_mesh_t(double radius=1.0, int segments=4)
vertices_t vertices() const noexcept
triangles_t triangles() const noexcept
vertices_t vertices() const noexcept
triangles_t triangles() const noexcept
const segment_list * segments