Skip to content

Commit

Permalink
Adding a comment explaining the choice for int types instead of uint …
Browse files Browse the repository at this point in the history
…of a larger size
  • Loading branch information
afichet committed Dec 9, 2023
1 parent 821d9c8 commit 70cc941
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/model/framebuffer/FramebufferModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class FramebufferModel: public QObject
float* m_pixelBuffer;
QImage m_image;

// Right now, the width and height are defined as Vec2i in OpenEXR
// i.e. int type.
int m_width, m_height;

bool m_isImageLoaded;
Expand Down

0 comments on commit 70cc941

Please sign in to comment.