Implements Cone control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CCone :public virtual ICone, public C3DControl
{
protected:
void FreeResources(COpenGL *graphics) override;
void Render(COpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
// ICone getters
float getConeRadius1() override;
float getConeRadius2() override;
float getConeHeight() override;
int getConeSides() override;
int getCapSegments() override;
int getHeightSegments() override;
// ICone setters
bool setConeRadius1(const float value) override;
bool setConeRadius2(const float value) override;
bool setConeHeight(const float value) override;
bool setConeSides(const int value) override;
bool setConeSize(const float radius1, const float radius2, const float height, const int sides) override;
bool setCapSegments(const int value) override;
bool setHeightSegments(const int value) override;
bool setSegments(const int cap, const int height) override;
CCone();
CCone(IControl *parent);
};
Namespace: | nitisa::opengl |
Include: | OpengL/Controls/Cone/Cone.h |