1 #ifndef GONG_GRAPHICS_CANVAS_HPP_
2 #define GONG_GRAPHICS_CANVAS_HPP_
15 void Resize(float w, float h) noexcept;
17 const glm::vec2 &Offset() const noexcept { return offset; }
18 const glm::vec2 &Size() const noexcept { return size; }
20 const glm::mat4 &Projection() const noexcept { return projection; }
21 const glm::mat4 &View() const noexcept { return view; }
24 void UpdateProjection() noexcept;