Unravel Engine C++ Reference
Loading...
Searching...
No Matches
torus_knot_mesh.cpp
Go to the documentation of this file.
1#include "torus_knot_mesh.hpp"
2
3using namespace generator;
4
5torus_knot_mesh_t::torus_knot_mesh_t(int p, int q, int slices, int segments)
6 : extrude_mesh_{{0.25, slices, 0.0, gml::radians(360.0)}, {p, q, segments}}
7{
8}
torus_knot_mesh_t(int p=2, int q=3, int slices=8, int segments=96)
const segment_list * segments