#include "../callable_ref.hpp"
#include "../config/basic.hpp"
#include "../valid_if/ge0_lt1.hpp"
#include "../valid_if/greater_than.hpp"
#include "gen_base.hpp"
#include <array>
#include <cassert>
#include <memory>
#include <eagine/shapes/torus.inl>
#include <utility>
Go to the source code of this file.
Classes | |
class | eagine::shapes::unit_torus_gen |
Generator of centered torus shape with unit diameter. More... | |
Namespaces | |
eagine | |
Common code is placed in this namespace. | |
eagine::shapes | |
Shape generator and loader code is placed in this namespace. | |
Functions | |
static auto | eagine::shapes::unit_torus (vertex_attrib_bits attr_bits, valid_if_greater_than< int, 4 > rings, valid_if_greater_than< int, 3 > sections, valid_if_ge0_lt1< float > radius_ratio) |
Constructs instances of unit_torus_gen. | |
static auto | eagine::shapes::unit_torus (vertex_attrib_bits attr_bits) |
Constructs instances of unit_torus_gen. More... | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt