16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

reformat: functions can be made static

This commit is contained in:
jerrrrycho
2026-07-04 06:09:04 +02:00
parent 1d0d1c015b
commit aeb800283c
66 changed files with 199 additions and 184 deletions

View File

@@ -12,7 +12,7 @@ public:
// methods:
void init();
void update( bool Includephase = false );
void render();
static void render();
// returns vector pointing at the sun
glm::vec3 getDirection() const;
// returns current elevation above horizon
@@ -50,7 +50,7 @@ protected:
void irradiance();
void phase();
// helper, normalize values to range 0...1
float normalize(float Value ) const;
static float normalize(float Value );
// members: