GlobeEngine
Ring.h
Go to the documentation of this file.
1 
7 #ifndef GlobeEngine_Ring_h
8 #define GlobeEngine_Ring_h
9 
10 #include "OpenGL_Includes.h"
11 #include "DrawableComponent.h"
12 #include "Common.h"
13 #include "Texture.h"
14 #include <math.h>
15 
16 namespace ge {
17 
18  class Ring : public ge::DrawableComponent
19  {
20  public:
21  public:
22  Ring();
23  ~Ring();
24  void clear();
25  void create() {};
26  void create(GLdouble _rIn, GLdouble _rOut, float _inclination, float _omega, float _w);
27  void update();
28  void draw(std::shared_ptr<ge::Camera> _cam);
29  void setAlpha(GLfloat _alpha);
30  private:
31  GLfloat alpha;
32 
33  };
34 
35 }
36 
37 #endif
Definition: DrawableComponent.h:25
void setAlpha(GLfloat _alpha)
Definition: Ring.cpp:132
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: Ring.cpp:109
void update()
Definition: Ring.cpp:127
Definition: Ring.h:18
void create()
Definition: Ring.h:25
void clear()
Definition: Ring.cpp:20
~Ring()
Definition: Ring.cpp:15
Definition: AvalancheTrainingSimulationEngine.h:28
Ring()
Definition: Ring.cpp:10