]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Sun.hpp
fix friction
[blobs.git] / src / world / Sun.hpp
index a47c039c7721bb0047be671ec00f459d426ca3e8..dd848623ef9e5ee74e9b1c93e8dd21161933eb7b 100644 (file)
@@ -20,6 +20,17 @@ public:
        Sun(Sun &&) = delete;
        Sun &operator =(Sun &&) = delete;
 
+public:
+       void Color(const glm::dvec3 &c) noexcept { color = c; }
+       const glm::dvec3 &Color() const noexcept { return color; }
+
+       void Luminosity(double l) noexcept { luminosity = l; }
+       double Luminosity() const noexcept { return luminosity; }
+
+private:
+       glm::dvec3 color;
+       double luminosity;
+
 };
 
 }