CPlane



Implements Plane control.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CPlane :public virtual IPlane, public C3DControl
{
protected:
    void FreeResources(COpenGL *graphics) override;
    void Render(COpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
    // IPlane getters 
    float getPlaneWidth() override;
    float getPlaneDepth() override;
    int getWidthSegments() override;
    int getDepthSegments() override;

    // IPlane setters 
    bool setPlaneWidth(const float value) override;
    bool setPlaneDepth(const float value) override;
    bool setPlaneSize(const float width, const float depth) override;
    bool setWidthSegments(const int value) override;
    bool setDepthSegments(const int value) override;
    bool setSegments(const int width, const int depth) override;

    CPlane();
    CPlane(IControl *parent);
};
Namespace: nitisa::opengl
Include: OpengL/Controls/Plane/Plane.h