Commit a3ab14df authored by Julius Nehring-Wirxel's avatar Julius Nehring-Wirxel
Browse files

Fixed documentation.

parent 57b573b6
......@@ -12,12 +12,13 @@ unique_array<pos3f> add_unit_dodecahedron_impl(Mesh& m);
namespace polymesh::objects
{
/// Adds a (subdivided) ico_sphere to the given mesh
/// Adds a dodecahedron to the given mesh.
/// Note: This will not triangulate the mesh!
/// sf is called with (v, x, y, z), with vertex handle v and coordinates (x,y,z) on the unit sphere
template <class SphereF>
vertex_handle add_dodecahedron(Mesh& m, SphereF&& sf);
/// same as add_cube but directly fills a position attribute
/// same as add_dodecahedron but directly fills a position attribute
template <class Pos3>
vertex_handle add_dodecahedron(Mesh& m, vertex_attribute<Pos3>& pos);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment