64 friend class GLPolygonEditor;
88 GLS_EXPORT
GLPolygon(
const GLPolygon& polygon,
const bool generateNames );
110 virtual GLS_EXPORT
void Draw(
void );
117 virtual GLS_EXPORT
void CalcNormals(
int windingOrder = 1 );
126 virtual GLS_EXPORT
void SetFillColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a );
141 virtual GLS_EXPORT
void DeleteVertex(
unsigned int index );
144 const Vector& logicalCoords,
146 const Vector& directionVector,
152 void DrawSolidGeometry(
bool textureObject,
bool color,
bool normal );
153 void DrawOutlineGeometry();
155 void BakeVBO(
bool hasT,
bool hasC,
bool hasN );
158 bool _pendingFillColor;
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:301
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 void DeleteVertex(unsigned int index)
virtual void DeleteVertex(unsigned int index)
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:664
virtual DisplayObject * CloneObject(bool generateNames=false)