mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 04:39:18 +02:00
Merge branch 'tmj-dev'
This commit is contained in:
8
sun.h
8
sun.h
@@ -17,13 +17,17 @@ public:
|
||||
void init();
|
||||
void update();
|
||||
void render();
|
||||
/*
|
||||
// returns location of the sun in the 3d scene
|
||||
glm::vec3 getPosition() { return m_position; }
|
||||
glm::vec3 getPosition();
|
||||
*/
|
||||
// returns vector pointing at the sun
|
||||
glm::vec3 getDirection();
|
||||
// returns current elevation above horizon
|
||||
float getAngle();
|
||||
// returns current intensity of the sun
|
||||
// return current hour angle
|
||||
double getHourAngle() const;
|
||||
// returns current intensity of the sun
|
||||
float getIntensity();
|
||||
// sets current time, overriding one acquired from the system clock
|
||||
void setTime( int const Hour, int const Minute, int const Second );
|
||||
|
||||
Reference in New Issue
Block a user