63 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
66 friend class GLPolygonEditor;
146 const Vector& logicalCoords,
148 const Vector& directionVector,
170 void BakeVBO(
bool hasT,
bool hasC,
bool hasN );
The Polygon class. Implements Polygons.
Definition: glpolygon.h:56
virtual void CalculateTextureCoordinates()
GlsVertexArray _vertArray
A vertex array that makes up this mesh. Each vertex contains data such as position,...
Definition: glpolygon.h:172
void DrawSolidGeometry(bool textureObject, bool gouraudShading, bool normal)
virtual void DeleteVertexAt(unsigned int index)
virtual void SetFillColor(const GlsColor &color)
virtual void CalcNormals(int windingOrder=1)
static DisplayObject * CreateInstance()
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) override
void BakeVBO(bool hasT, bool hasC, bool hasN)
virtual void Draw() override
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler) override
bool _pendingFillColor
If true and gouraudShading is true during a paint cycle, then it'll bake the VBO.
Definition: glpolygon.h:173
void DrawPoints()
Draws a point for each vertex of this polygon.
void DrawOutlineGeometry()
Draws lines that form this polygon's outline.
virtual void SetFillColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
Definition: gls_color.h:54
Definition: gls_vertex_array.h:60
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:544
The disti::DisplayObject class and global enumerations.
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:246
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:488
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:222
A file for all GL Studio files to include.
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
An object for managing vertices, texture coordinates, colors and normals for GLPolygon and other disp...
Definition: bmpimage.h:47