Class holding information about the topology of a generated shape. More...
#include <eagine/shapes/topology.hpp>
Public Member Functions | |
topology (std::shared_ptr< generator > gen, drawing_variant var, vertex_attrib_variant vav) | |
Construction from a generator, drawing and attribute variant. | |
topology (const std::shared_ptr< generator > &gen) | |
Construction from a shape generator. | |
auto | triangle_count () const noexcept -> span_size_t |
Returns the number of triangles in the mesh. | |
auto | triangle (span_size_t i) const noexcept -> const mesh_triangle & |
Returns the i-th triangle in the mesh. | |
Class holding information about the topology of a generated shape.