21 auto time_ms()
const {
return this->m_time.count(); }
bool updated(void) const
Definition sun.h:22
void set_updated(bool b)
Definition sun.h:26
void set_incidence(float a)
Definition sun.cpp:11
void set_time_ms(unsigned t)
Definition sun.h:25
float m_arc_len
Definition sun.h:14
vec3 dir() const
Definition sun.cpp:24
std::chrono::milliseconds duration
Definition sun.h:12
void set_time(duration t)
Definition sun.cpp:18
duration m_time
Definition sun.h:15
float m_sin
Definition sun.h:14
duration time() const
Definition sun.h:20
Sun()
Definition sun.cpp:9
float m_cos
Definition sun.h:14
auto time_ms() const
Definition sun.h:21
float incidence() const
Definition sun.h:19
float m_incidence
Definition sun.h:14
bool m_updated
Definition sun.h:16