Function gamer::sphere

Function Documentation

std::unique_ptr<SurfaceMesh> gamer::sphere(int order)

Create a triangulated octahedron.

Parameters

order[in] Number of times to subdivide octahedron

Returns

Pointer to resulting mesh