7 #ifndef GlobeEngine_Flag_h
8 #define GlobeEngine_Flag_h
10 #include "OpenGL_Includes.h"
20 void create(GLuint slices, vmml::Vector3f origin, GLfloat radius,
bool isPennant);
24 void draw(std::shared_ptr<ge::Camera> _cam);
28 vmml::Vector3i getVertexIndices(GLint vertexNr);
29 GLint getIndex(GLint insertedItems);
30 void setCircularVertexPositions(GLint index, GLfloat* positionBuffer, GLint slices, vmml::Vector3f origin, GLfloat radius, GLfloat verticalOffsetFromOrigin);
31 void setTriangleVertexPositions(GLint index, GLfloat* positionBuffer, vmml::Vector3f origin, GLfloat xOffset, GLfloat yOffset, GLfloat zOffset);
32 void setTriangleIndices(GLint index, GLuint* indicesBuffer, GLint firstVertex, GLint midVertex, GLint lastVertex,
bool isCCW);
33 void extrudeTriangleFan(GLint index, GLuint* indicesBuffer, GLuint sharedVertex, GLuint* vertices, GLuint stripLength,
bool isCCW,
bool isClosed);
34 void extrudeTriangleStrip(GLint index, GLuint* indicesBuffer, GLuint* baseVertices, GLuint* topVertices, GLuint stripLength,
bool isCCW,
bool isClosed);
Definition: DrawableComponent.h:25
Flag()
Definition: Flag.cpp:4
~Flag()
Definition: Flag.cpp:9
void update()
Definition: Flag.cpp:226
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: Flag.cpp:210
Definition: AvalancheTrainingSimulationEngine.h:28
void create()
Definition: Flag.cpp:19
void clear()
Definition: Flag.cpp:14