diff options
Diffstat (limited to 'gfx/lightDirection.h')
-rw-r--r-- | gfx/lightDirection.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gfx/lightDirection.h b/gfx/lightDirection.h index f1e1cc4..789830b 100644 --- a/gfx/lightDirection.h +++ b/gfx/lightDirection.h @@ -20,13 +20,20 @@ public: } [[nodiscard]] float - vertical() const noexcept + ambient() const noexcept { - return vert; + return amb; + } + + [[nodiscard]] float + directional() const noexcept + { + return dir; } private: Direction2D pos; Direction3D vec; - float vert; + float amb; + float dir; }; |