summaryrefslogtreecommitdiff
path: root/game/geoData.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/geoData.h')
-rw-r--r--game/geoData.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/geoData.h b/game/geoData.h
index e5057c3..ffb7d64 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -11,6 +11,7 @@ public:
struct Node {
float height {-1.5F};
};
+ using Quad = std::array<glm::vec3, 4>;
using Limits = std::pair<glm::ivec2, glm::ivec2>;
@@ -24,6 +25,7 @@ public:
[[nodiscard]] unsigned int at(glm::ivec2) const;
[[nodiscard]] unsigned int at(int x, int y) const;
+ [[nodiscard]] Quad quad(glm::vec2) const;
[[nodiscard]] Limits getLimit() const;
[[nodiscard]] glm::uvec2 getSize() const;