Implements Circle control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CCircle :public virtual ICircle, public C3DControl
{
protected:
void FreeResources(COpenGL *graphics) override;
void Render(COpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
// ICircle getters
float getCircleRadius() override;
int getCircleSides() override;
int getCapSegments() override;
// ICircle setters
bool setCircleRadius(const float value) override;
bool setCircleSides(const int value) override;
bool setCircleSize(const float radius, const int sides) override;
bool setCapSegments(const int value) override;
CCircle();
CCircle(IControl *parent);
};
Namespace: | nitisa::opengl |
Include: | OpengL/Controls/Circle/Circle.h |