mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
implement moon
This commit is contained in:
2
moon.h
2
moon.h
@@ -14,7 +14,7 @@ public:
|
||||
void update( bool const Includephase = false );
|
||||
void render();
|
||||
// returns vector pointing at the sun
|
||||
glm::vec3 getDirection();
|
||||
glm::vec3 getDirection() const;
|
||||
// returns current elevation above horizon
|
||||
float getAngle() const;
|
||||
// returns current intensity of the sun
|
||||
|
||||
Reference in New Issue
Block a user