16
0
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:
WLs50
2025-03-16 22:12:37 +01:00
parent 07583a9f07
commit 8f98292cbe
13 changed files with 73 additions and 24 deletions

2
moon.h
View File

@@ -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