Improved implementation of crop in AppearanceView. Not yet fully

satisfying though...
This commit is contained in:
brunoherbelin
2020-11-29 23:33:53 +01:00
parent 5200de2e3e
commit 93ad971fc0
6 changed files with 71 additions and 32 deletions

View File

@@ -45,7 +45,7 @@ public:
// projection and crop
glm::mat4 projection() const;
glm::vec2 projectionArea() const;
void crop(glm::vec2 c);
void setProjectionArea(glm::vec2 c);
// internal pixel format
inline bool use_alpha() const { return use_alpha_; }