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

Merge remote-tracking branch 'tmj/master' into sim

This commit is contained in:
milek7
2020-10-18 23:35:14 +02:00
244 changed files with 54164 additions and 11636 deletions

4
sun.h
View File

@@ -1,5 +1,7 @@
#pragma once
#include "winheaders.h"
//////////////////////////////////////////////////////////////////////////////////////////
// cSun -- class responsible for dynamic calculation of position and intensity of the Sun,
// given current weather, time and geographic location.
@@ -20,7 +22,7 @@ public:
// returns vector pointing at the sun
glm::vec3 getDirection();
// returns current elevation above horizon
float getAngle();
float getAngle() const;
// return current hour angle
double getHourAngle() const;
// returns current intensity of the sun