23 unsigned int const horizontal_split_count = 0u,
24 unsigned int const vertical_split_count = 0u);
46 unsigned int const longitude_split_count,
47 unsigned int const latitude_split_count);
73 float const minor_radius,
74 unsigned int const major_split_count,
75 unsigned int const minor_split_count);
99 float const spread_length,
100 unsigned int const circle_split_count,
101 unsigned int const spread_split_count);
Definition: parametric_shapes.hpp:6
bonobo::mesh_data createTorus(float const major_radius, float const minor_radius, unsigned int const major_split_count, unsigned int const minor_split_count)
Create a torus for a given tesselation level and make it available to OpenGL.
Definition: parametric_shapes.cpp:136
bonobo::mesh_data createQuad(float const width, float const height, unsigned int const horizontal_split_count=0u, unsigned int const vertical_split_count=0u)
Create a quad a given tesselation level and make it available to OpenGL.
Definition: parametric_shapes.cpp:13
bonobo::mesh_data createCircleRing(float const radius, float const spread_length, unsigned int const circle_split_count, unsigned int const spread_split_count)
Create a circle ring for a given tesselation level and make it available to OpenGL.
Definition: parametric_shapes.cpp:146
bonobo::mesh_data createSphere(float const radius, unsigned int const longitude_split_count, unsigned int const latitude_split_count)
Create a sphere for a given tesselation level and make it available to OpenGL.
Definition: parametric_shapes.cpp:126
Contains the data for a mesh in OpenGL.
Definition: helpers.hpp:42