diff options
author | Frederico Linhares <fred@linhares.blue> | 2022-12-23 15:02:39 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2022-12-23 15:02:39 -0300 |
commit | 75337ae1c59e8b2c3bc6fbcd7ccafc7a8205d6b2 (patch) | |
tree | 10b33abdf881e33ff20b7a11a789f62dd05124cf /src/vk/view_3d.hpp | |
parent | 1cd2d838bf1682e125d52d12ac6f2960df65c7e0 (diff) |
feat Add size to projections in 2D views
Diffstat (limited to 'src/vk/view_3d.hpp')
-rw-r--r-- | src/vk/view_3d.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vk/view_3d.hpp b/src/vk/view_3d.hpp index ba08957..1d51070 100644 --- a/src/vk/view_3d.hpp +++ b/src/vk/view_3d.hpp @@ -32,7 +32,7 @@ struct View3D: public View2D std::shared_ptr<glm::vec3> camera_position; std::shared_ptr<glm::vec3> camera_rotation; - View3D(glm::vec4 region); + View3D(glm::vec4 region, float projection_width, float projection_height); ~View3D(); void |