6 : parametric_path_{[radius,
size,
start, sweep](double t)
9 const double angle =
start + t * sweep;
10 const double sine = std::sin(angle);
11 const double cosine = std::cos(angle);
13 vertex.
position = gml::dvec3{radius * cosine, radius * sine, 2.0 * t *
size -
size};
15 vertex.
tangent = gml::normalize(gml::dvec3{
21 vertex.
normal = gml::dvec3{cosine, sine, 0.0};
std::vector< math::vec3 > start
const segment_list * segments