Implements 2D disk primitive.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CPrimitiveDisk :public virtual IPrimitive, public nitisa::CModel
{
public:
bool Render() override;
CPrimitiveDisk(IControl *control);
float const &OuterRadius;
float const &InnerRadius;
int const &Sides;
int const &Segments;
bool setOuterRadius(const float value);
bool setInnerRadius(const float value);
bool setSides(const int value);
bool setSegments(const int value);
bool setSize(const float outer_radius, const float inner_radius, const int sides);
void FreeResources();
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Primitives/2D/Disk/PrimitiveDisk.h |