63 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
66 friend class GLPolygonEditor;
90 GLS_EXPORT
GLPolygon(
const GLPolygon& polygon,
const bool generateNames );
112 virtual GLS_EXPORT
void Draw(
void );
119 virtual GLS_EXPORT
void CalcNormals(
int windingOrder = 1 );
128 virtual GLS_EXPORT
void SetFillColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a );
142 const Vector& logicalCoords,
144 const Vector& directionVector,
150 void DrawSolidGeometry(
bool textureObject,
bool color,
bool normal );
151 void DrawOutlineGeometry();
153 void BakeVBO(
bool hasT,
bool hasC,
bool hasN );
156 bool _pendingFillColor;
virtual void DeleteVertexAt(unsigned int index)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:471
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler)
The Polygon class. Implements Polygons.
Definition: glpolygon.h:55
A file for all GL Studio files to include.
The disti::DisplayObject class and global enumerations.
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &parentDrawn)
virtual void CalcNormals(int windingOrder=1)
Definition: gls_vertex_array.h:58
Definition: gls_color.h:53
void ConfigureMetaData(void)
virtual void CalculateTextureCoordinates(void)
An object for managing vertices, texture coordinates, colors and normals for GLPolygon and other disp...
Macros and helper code to determine what subset of C++11/14/17 is available.
Definition: bmpimage.h:46
void SetFillColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
Definition: display.h:675
virtual DisplayObject * CloneObject(bool generateNames=false)