]> git.localhorst.tv Git - blobs.git/blob - src/world/Sun.hpp
fix friction
[blobs.git] / src / world / Sun.hpp
1 #ifndef BLOBS_WORLD_SUN_HPP_
2 #define BLOBS_WORLD_SUN_HPP_
3
4 #include "Body.hpp"
5
6
7 namespace blobs {
8 namespace world {
9
10 class Sun
11 : public Body {
12
13 public:
14         Sun();
15         ~Sun();
16
17         Sun(const Sun &) = delete;
18         Sun &operator =(const Sun &) = delete;
19
20         Sun(Sun &&) = delete;
21         Sun &operator =(Sun &&) = delete;
22
23 public:
24         void Color(const glm::dvec3 &c) noexcept { color = c; }
25         const glm::dvec3 &Color() const noexcept { return color; }
26
27         void Luminosity(double l) noexcept { luminosity = l; }
28         double Luminosity() const noexcept { return luminosity; }
29
30 private:
31         glm::dvec3 color;
32         double luminosity;
33
34 };
35
36 }
37 }
38
39 #endif