8 #ifndef GlobeEngine_Sphere_h
9 #define GlobeEngine_Sphere_h
11 #include "OpenGL_Includes.h"
23 void clear()
override;
27 void create(
int _vertCircles,
int _pointsPerCircle);
30 void draw(std::shared_ptr<ge::Camera> _cam)
override;
37 virtual void setRotation(vmml::Vector3d _rotations)
override;
void clear() override
Definition: Sphere.cpp:15
vmml::Vector3d lightPosition
Definition: Sphere.h:51
Definition: DrawableComponent.h:25
int pointsPerCircle
Definition: Sphere.h:55
int vertCircles
Definition: Sphere.h:54
void draw(std::shared_ptr< ge::Camera > _cam) override
Definition: Sphere.cpp:174
void setAmbient(vmml::Vector4f _ambient)
Definition: Sphere.cpp:224
void create() override
Definition: Sphere.h:24
void setDiffuse(vmml::Vector4f _diffuse)
Definition: Sphere.cpp:227
vmml::Vector4f diffuse
Definition: Sphere.h:50
virtual void setRotation(vmml::Vector3d _rotations) override
Definition: Sphere.cpp:239
vmml::Vector4f spectrumColor
Definition: Sphere.h:52
void setAlpha(GLfloat _alpha)
Definition: Sphere.cpp:221
~Sphere()
Definition: Sphere.cpp:10
void setSpectrumColor(vmml::Vector4f _spectrumColor)
Definition: Sphere.cpp:231
static vmml::Vector2d convertEucledianToPolar(vmml::Vector3d _in, double _radius)
Definition: Sphere.cpp:30
void update() override
Definition: Sphere.cpp:217
Sphere()
Definition: Sphere.cpp:4
vmml::Vector4f ambient
Definition: Sphere.h:49
static vmml::Vector3d convertPolarToEuclidean(double _theta, double _phi)
Definition: Sphere.cpp:24
Definition: AvalancheTrainingSimulationEngine.h:28
void setLightPosition(vmml::Vector3d _position)
Definition: Sphere.cpp:235
GLfloat alpha
Definition: Sphere.h:48