Implements 3D box primitive.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CPrimitiveBox :public virtual IPrimitive, public nitisa::CModel
{
public:
bool Render() override;
CPrimitiveBox(IControl *control);
float const &Width;
float const &Height;
float const &Depth;
int const &WidthSegments;
int const &HeightSegments;
int const &DepthSegments;
bool setWidth(const float value);
bool setHeight(const float value);
bool setDepth(const float value);
bool setSize(const float width, const float height, const float depth);
bool setWidthSegments(const int value);
bool setHeightSegments(const int value);
bool setDepthSegments(const int value);
bool setSegments(const int width, const int height, const int depth);
void FreeResources();
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Primitives/3D/Box/PrimitiveBox.h |