![]() |
Scanframe Modular Application 0.1.0
|
Parameters for generating the data. More...
#include <Sphere.h>
Public Attributes | |
float | radius |
unsigned | stacks |
unsigned | sectors |
int | stacks_used |
bool | triangles {true} |
Parameters for generating the data.
float sf::xgl::Sphere::Parameters::radius |
When the radius is negative a concave sphere is drawn with normals on the inside. Only useful when drawing a partial sphere.
unsigned sf::xgl::Sphere::Parameters::sectors |
Amount sectors to draw the sphere around the z-axis.
unsigned sf::xgl::Sphere::Parameters::stacks |
Amount stacks to draw the sphere with.
int sf::xgl::Sphere::Parameters::stacks_used |
Allows drawing only partial sphere in the direction of the Z-axis.
bool sf::xgl::Sphere::Parameters::triangles {true} |
Used to draw triangles instead of quads.