Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::detail::sun_controller Class Reference

#include <atmospheric_pass_perez.h>

Public Types

enum class  month : int {
  january = 0 , jebruary , march , april ,
  may , june , july , august ,
  september , october , november , december
}
 

Public Member Functions

 sun_controller ()
 
void update (float _time)
 

Public Attributes

bx::Vec3 north_dir_
 
bx::Vec3 sun_dir_
 
bx::Vec3 up_dir_
 
float latitude_
 
month month_
 

Detailed Description

Definition at line 65 of file atmospheric_pass_perez.h.

Member Enumeration Documentation

◆ month

enum class unravel::detail::sun_controller::month : int
strong
Enumerator
january 
jebruary 
march 
april 
may 
june 
july 
august 
september 
october 
november 
december 

Definition at line 68 of file atmospheric_pass_perez.h.

Constructor & Destructor Documentation

◆ sun_controller()

unravel::detail::sun_controller::sun_controller ( )
inline

Definition at line 84 of file atmospheric_pass_perez.h.

Member Function Documentation

◆ update()

void unravel::detail::sun_controller::update ( float _time)
inline

Definition at line 95 of file atmospheric_pass_perez.h.

Member Data Documentation

◆ latitude_

float unravel::detail::sun_controller::latitude_

Definition at line 104 of file atmospheric_pass_perez.h.

◆ month_

month unravel::detail::sun_controller::month_

Definition at line 105 of file atmospheric_pass_perez.h.

◆ north_dir_

bx::Vec3 unravel::detail::sun_controller::north_dir_

Definition at line 101 of file atmospheric_pass_perez.h.

◆ sun_dir_

bx::Vec3 unravel::detail::sun_controller::sun_dir_

Definition at line 102 of file atmospheric_pass_perez.h.

◆ up_dir_

bx::Vec3 unravel::detail::sun_controller::up_dir_

Definition at line 103 of file atmospheric_pass_perez.h.


The documentation for this class was generated from the following file: