]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Body.hpp
remove surface tilt
[blobs.git] / src / world / Body.hpp
index 6f85efd97b4946db46f224ef143e9b91ea1ec1b5..1e32e6d020a41d71392d4f7ce68865aba6d96aaf 100644 (file)
@@ -61,9 +61,6 @@ public:
        Orbit &GetOrbit() noexcept { return orbit; }
        const Orbit &GetOrbit() const noexcept { return orbit; }
 
-       const glm::dvec2 &SurfaceTilt() const noexcept { return surface_tilt; }
-       void SurfaceTilt(const glm::dvec2 &t) noexcept { surface_tilt = t; }
-
        const glm::dvec2 &AxialTilt() const noexcept { return axis_tilt; }
        void AxialTilt(const glm::dvec2 &t) noexcept { axis_tilt = t; }
 
@@ -123,7 +120,6 @@ private:
        double mass;
        double radius;
        Orbit orbit;
-       glm::dvec2 surface_tilt;
        glm::dvec2 axis_tilt;
        double rotation;
        double angular;