8 #ifndef GlobeEngine_Globe_h
9 #define GlobeEngine_Globe_h
11 #include <vmmlib/vmmlib.hpp>
25 void create(vmml::Vector3d _position,
float _radius,
unsigned int rings,
unsigned int sectors);
30 void draw(std::shared_ptr<ge::Camera> _cam);
35 float grid_size_lat_half;
37 int verticesInLongitude;
38 int verticesInLatitude;
39 int triangleCountperSide;
41 int indexCountperSide;
42 int triangleStripsPerColumn;
52 GLuint vboVertexObject;
53 GLuint vboIndexObject;
54 GLuint vboNormalObject;
55 GLuint vboTexCoordObject;
Definition: DrawableComponent.h:25
void createRenderingStructures()
Definition: Globe.cpp:28
Definition: ClusterGrid.h:17
void createVAO()
Definition: Globe.cpp:81
~Globe()
Definition: Globe.h:21
Globe()
Definition: Globe.h:20
Definition: VBOVertex.h:115
void clear()
Definition: Globe.cpp:4
void update()
Definition: Globe.cpp:188
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: Globe.cpp:135
void create()
Definition: Globe.h:24