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:
4
sun.h
4
sun.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user