Antkeeper  0.0.1
atmosphere-component.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Christopher J. Howard
3  *
4  * This file is part of Antkeeper source code.
5  *
6  * Antkeeper source code is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Antkeeper source code is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Antkeeper source code. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef ANTKEEPER_GAME_ATMOSPHERE_COMPONENT_HPP
21 #define ANTKEEPER_GAME_ATMOSPHERE_COMPONENT_HPP
22 
23 #include <engine/math/vector.hpp>
24 
25 
28 {
30  double upper_limit;
31 
34 
37 
40 
43 
46 
49 
52 
54  double mie_albedo;
55 
58 
61 
64 
67 
70 
72  double ozone_mode;
73 
76 
79 };
80 
81 
82 #endif // ANTKEEPER_GAME_ATMOSPHERE_COMPONENT_HPP
double mie_albedo
Mie single-scattering albedo.
double ozone_mode
Elevation of the mode of the triangular distribution of ozone particles, in meters.
double upper_limit
Elevation of the upper limit of the atmosphere, in meters.
math::dvec3 airglow_luminance
Airglow luminance, in cd/m^2.
double mie_concentration
Molar concentration of Mie particles at sea level, in mol/m-3.
double mie_extinction
(Dependent) Mie extinction coefficient.
double rayleigh_concentration
Molar concentration of Rayleigh particles at sea level, in mol/m-3.
double ozone_upper_limit
Elevation of the upper limit of the triangular distribution of ozone particles, in meters.
double ozone_lower_limit
Elevation of the lower limit of the triangular distribution of ozone particles, in meters.
double mie_anisotropy
Mie phase function anisotropy factor.
double ozone_concentration
Concentration of ozone in the atmosphere, unitless.
double mie_scattering
(Dependent) Mie scattering coefficient.
math::dvec3 ozone_absorption
(Dependent) Ozone absorption coefficients.
math::dvec3 rayleigh_scattering
(Dependent) Rayleigh scattering coefficients.
double index_of_refraction
Index of refraction of air at sea level.
double rayleigh_scale_height
Scale height of the exponential distribution of Rayleigh particles, in meters.
double mie_scale_height
Scale height of the exponential distribution of Mie particles, in meters.
n-dimensional vector.
Definition: vector.hpp:44