]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Planet.hpp
earthlike planet gen prototype
[blobs.git] / src / world / Planet.hpp
index 0c468f5f0214d1c52ef2677a47d10ced809be72e..efc804dae6a88e91cbbacafcbfd2c3cd38798bab 100644 (file)
@@ -61,6 +61,8 @@ public:
                return 6 * TilesPerSurface();
        }
 
+       glm::dvec3 TileCenter(int surface, int x, int y) const noexcept;
+
        void BuildVAOs();
        void Draw(app::Assets &, graphics::Viewport &) override;
 
@@ -76,7 +78,8 @@ private:
 
 };
 
-void GenerateTest(Planet &);
+void GenerateEarthlike(Planet &) noexcept;
+void GenerateTest(Planet &) noexcept;
 
 }
 }