]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/Viewport.hpp
chat state
[blank.git] / src / graphics / Viewport.hpp
index a8cb69f0947f70cee14b6fc20df6f544b5114b1b..96fbaa4deae54840efb53a1bb7fa2474a17d1b21 100644 (file)
@@ -44,9 +44,11 @@ public:
        void Clear() noexcept;
        void ClearDepth() noexcept;
 
-       void SetCursor(const glm::vec3 &);
-       void SetCursor(const glm::vec3 &, Gravity);
-       void MoveCursor(const glm::vec3 &);
+       glm::vec2 GetPosition(const glm::vec2 &off, Gravity grav) const noexcept;
+
+       void SetCursor(const glm::vec3 &) noexcept;
+       void SetCursor(const glm::vec3 &, Gravity) noexcept;
+       void MoveCursor(const glm::vec3 &) noexcept;
        const glm::mat4 &Cursor() const noexcept { return cursor; }
 
        BlockLighting &ChunkProgram() noexcept;