7 #ifndef GlobeEngine_Cylinder_h
8 #define GlobeEngine_Cylinder_h
10 #include "OpenGL_Includes.h"
21 void create(GLuint slices, vmml::Vector3f origin, GLfloat radius);
23 void draw(std::shared_ptr<ge::Camera> _cam);
27 void setCircularVertexPositions(GLint index, GLfloat* positionBuffer, GLint slices, vmml::Vector3f origin, GLfloat radius, GLfloat verticalOffsetFromOrigin);
28 void extrudeTriangleStrip(GLint index, GLuint* indicesBuffer, GLuint* baseVertices, GLuint* topVertices, GLuint stripLength,
bool isCCW,
bool isClosed);
29 void extrudeTriangleFan(GLint index, GLuint* indicesBuffer, GLuint sharedVertex, GLuint* vertices, GLuint stripLength,
bool isCCW,
bool isClosed);
Definition: DrawableComponent.h:25
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: Cylinder.cpp:145
Cylinder()
Definition: Cylinder.cpp:4
Definition: Cylinder.h:14
~Cylinder()
Definition: Cylinder.cpp:9
Definition: AvalancheTrainingSimulationEngine.h:28
void create()
Definition: Cylinder.cpp:19
void update()
Definition: Cylinder.cpp:161
void clear()
Definition: Cylinder.cpp:14