39#ifndef INCLUDED_DISTI_GLPOLYGON_H
40#define INCLUDED_DISTI_GLPOLYGON_H
62 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
65 friend class GLPolygonEditor;
130 virtual GLS_EXPORT void SetFillColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a );
145 const Vector& logicalCoords,
147 const Vector& directionVector,
157 GLS_EXPORT void DrawSolidGeometry(
bool textureObject,
bool gouraudShading,
bool normal );
169 GLS_EXPORT void BakeVBO(
bool hasT,
bool hasC,
bool hasN );
172 bool _pendingFillColor;
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler)
void SetFillColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
Definition: display.h:685
The Polygon class. Implements Polygons.
Definition: glpolygon.h:55
void DeleteVertexAt(unsigned int index) override
virtual void CalcNormals(int windingOrder=1)
DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) override
static DisplayObject * CreateInstance()
DisplayObject * CloneObject(bool generateNames=false) override
void CalculateTextureCoordinates() override
Definition: gls_color.h:53
Definition: gls_vertex_array.h:58
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:540
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:245
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:487
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:221
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:50
An object for managing vertices, texture coordinates, colors and normals for GLPolygon and other disp...
Definition: bmpimage.h:46