9 #ifndef GlobeEngine_ArrowField_h
10 #define GlobeEngine_ArrowField_h
12 #include "OpenGL_Includes.h"
40 void draw(std::shared_ptr<ge::Camera> _cam);
50 void rotateArrowAccordingToDirection(
int _idx);
51 void setPositionBuffer();
52 void setColorBuffer();
53 void setIndexBuffer();
54 vmml::Vector3f getColorForDir(vmml::Vector3f _dir);
57 std::vector<Arrow> arrows;
58 std::vector<ArrowInfo> arrowInfos;
void update()
Definition: ArrowField.cpp:149
Definition: ArrowField.h:17
Definition: DrawableComponent.h:25
void create()
Definition: ArrowField.cpp:28
void clear()
Definition: ArrowField.cpp:23
Definition: ArrowField.h:16
void setMinMaxArrows()
Definition: ArrowField.cpp:218
vmml::Vector3f pos
Definition: ArrowField.h:18
int getArrowCount() const
Definition: ArrowField.cpp:241
void createVAO()
Definition: ArrowField.cpp:39
void addArrow(ArrowInfo _arrowInfo)
Definition: ArrowField.cpp:210
~ArrowField()
Definition: ArrowField.cpp:18
vmml::Vector3f dir
Definition: ArrowField.h:19
Definition: ArrowField.h:33
void setArrowLength(float _length)
Definition: ArrowField.cpp:214
ArrowField()
Definition: ArrowField.cpp:13
vmml::Vector4d lineVectors[4]
Definition: ArrowField.h:30
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: ArrowField.cpp:154
Definition: ArrowField.h:29