X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FPlanet.hpp;h=af3b512aea6b058bc97b4dadb7435b0bc65d4347;hb=7ae2bd120fd0e1800edc9cbeb61e72bd06ffcf10;hp=900ebbbe8ae4fb6412e337e43566fc7899df1da8;hpb=fec78f7f01a03f10f8ff75c9b87929bf8c2d61e4;p=blobs.git diff --git a/src/world/Planet.hpp b/src/world/Planet.hpp index 900ebbb..af3b512 100644 --- a/src/world/Planet.hpp +++ b/src/world/Planet.hpp @@ -3,6 +3,7 @@ #include "Body.hpp" +#include "Set.hpp" #include "Tile.hpp" #include "../graphics/glm.hpp" #include "../graphics/SimpleVAO.hpp" @@ -15,7 +16,7 @@ namespace blobs { namespace world { -class TileSet; +class TileType; /// A planet has six surfaces, numbered 0 to 5, each filled with /// sidelength² tiles. @@ -63,7 +64,7 @@ public: glm::dvec3 TileCenter(int surface, int x, int y) const noexcept; - void BuildVAO(const TileSet &); + void BuildVAO(const Set &); void Draw(app::Assets &, graphics::Viewport &) override; private: @@ -78,8 +79,8 @@ private: }; -void GenerateEarthlike(const TileSet &, Planet &) noexcept; -void GenerateTest(const TileSet &, Planet &) noexcept; +void GenerateEarthlike(const Set &, Planet &) noexcept; +void GenerateTest(const Set &, Planet &) noexcept; } }