45 #include "gls_vertex_array.h"
63 void CopyGeometryInternal(
GLPolygon* src );
64 void CopyPropertiesInternal(
GLPolygon* src );
65 void CopyHierarchyPropertiesInternal(
GLPolygon* src,
bool copyName );
69 friend class GLPolygonEditor;
93 GLS_EXPORT
GLPolygon(
const GLPolygon& polygon,
const bool generateNames );
115 virtual GLS_EXPORT
void Draw(
void);
122 virtual GLS_EXPORT
void CalcNormals(
int windingOrder = 1);
131 virtual GLS_EXPORT
void SetFillColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a);
146 virtual GLS_EXPORT
void DeleteVertex(
unsigned int index);
149 const Vector& logicalCoords,
151 const Vector& directionVector,
158 void DrawSolidGeometry(
bool textureObject,
bool color,
bool normal);
159 void DrawOutlineGeometry();
161 void BakeVBO(
bool hasT,
bool hasC,
bool hasN);
163 GlsVertexArray _vertArray;
164 bool _pendingFillColor;
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:281
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler)
The Polygon class. Implements Polygons.
Definition: glpolygon.h:56
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_color.h:54
void ConfigureMetaData(void)
virtual void CalculateTextureCoordinates(void)
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:663
virtual DisplayObject * CloneObject(bool generateNames=false)