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(standard::windows::opengl::IOpenGL *graphics) override;
void Render(standard::windows::opengl::IOpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
// ICone getters
bool isUseVertexNormal() override;
float getConeRadius1() override;
float getConeRadius2() override;
float getConeHeight() override;
int getConeSides() override;
int getCapSegments() override;
int getHeightSegments() override;
// ICone setters
bool setUseVertexNormal(const bool value) override;
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 |