diff options
Diffstat (limited to 'gfx/lightDirection.h')
| -rw-r--r-- | gfx/lightDirection.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gfx/lightDirection.h b/gfx/lightDirection.h index 789830b..296f497 100644 --- a/gfx/lightDirection.h +++ b/gfx/lightDirection.h @@ -31,9 +31,16 @@ public: return dir; } + [[nodiscard]] float + atmosphericScattering() const noexcept + { + return atmosScatter; + } + private: Direction2D pos; Direction3D vec; float amb; float dir; + float atmosScatter; }; |
