GlobeEngine
CoordinateSystem.h
Go to the documentation of this file.
1 
9 #ifndef GlobeEngine_CoordinateSystem_h
10 #define GlobeEngine_CoordinateSystem_h
11 
12 #include "OpenGL_Includes.h"
13 #include "DrawableComponent.h"
14 
15 namespace ge {
16 
18  {
19  public:
22  void clear();
23  void create();
24  void create(vmml::Vector3d _xAxis, vmml::Vector3d _yAxis, vmml::Vector3d _zAxis);
25  void create(vmml::Vector3d _xAxis, vmml::Vector3d _yAxis, vmml::Vector3d _zAxis, vmml::Vector3d _pos);
26  void draw(std::shared_ptr<ge::Camera> _cam);
27  void update();
28  void createVAO();
29  private:
30  int linesize;
31  vmml::Vector3d axis[3];
32  };
33 }
34 #endif
Definition: DrawableComponent.h:25
void create()
Definition: CoordinateSystem.cpp:24
void clear()
Definition: CoordinateSystem.cpp:19
void createVAO()
Definition: CoordinateSystem.cpp:46
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: CoordinateSystem.cpp:99
Definition: AvalancheTrainingSimulationEngine.h:28
CoordinateSystem()
Definition: CoordinateSystem.cpp:9
void update()
Definition: CoordinateSystem.cpp:94
~CoordinateSystem()
Definition: CoordinateSystem.cpp:14
Definition: CoordinateSystem.h:17