C3DObject



Implements 3DObject control.

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

class C3DObject :public virtual I3DObject, public C3DControl
{
protected:
    void FreeResources(standard::windows::opengl::IOpenGL *graphics) override;
    void Render(standard::windows::opengl::IOpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
    // I3DObject getters 
    bool isUseVertexNormal() override;
    const graphics3d::T3DObject<float> &get3DObject() const override;

    // I3DObject setters 
    bool setUseVertexNormal(const bool value) override;
    bool set3DObject(const graphics3d::T3DObject<float> &obj) override;

    C3DObject();
    C3DObject(IControl *parent);
};
Namespace: nitisa::opengl
Include: OpengL/Controls/3DObject/3DObject.h