Unravel Engine C++ Reference
Loading...
Searching...
No Matches
capsule_mesh.cpp
Go to the documentation of this file.
1#include "capsule_mesh.hpp"
2
3using namespace generator;
4
6 double size,
7 int slices,
8 int segments,
9 int rings,
10 double start,
11 double sweep)
12 : merge_mesh_{{radius, size, slices, segments, start, sweep},
13 {{radius, slices, rings, start, sweep, 0.0, gml::radians(90.0)}, {0.0, 0.0, size}},
14 {{radius, slices, rings, start, sweep, gml::radians(90.0), gml::radians(90.0)}, {0.0, 0.0, -size}}}
15{
16}
capsule_mesh_t(double radius=1.0, double size=0.5, int slices=32, int segments=4, int rings=8, double start=0.0, double sweep=gml::radians(360.0))
auto start(seq_action action, const seq_scope_policy &scope_policy, hpp::source_location location) -> seq_id_t
Starts a new action.
Definition seq.cpp:8
const segment_list * segments