Skip to content

refactor(window): using glm ivec2 to handle window size#202

Merged
Miou-zora merged 5 commits into
mainfrom
171-make-getwindowsize-more-convenient
Apr 26, 2025
Merged

refactor(window): using glm ivec2 to handle window size#202
Miou-zora merged 5 commits into
mainfrom
171-make-getwindowsize-more-convenient

Conversation

@Divengerss

Copy link
Copy Markdown
Contributor

@Divengerss Divengerss added the refactor Code Refactor label Apr 25, 2025
@Divengerss Divengerss self-assigned this Apr 25, 2025
@Divengerss Divengerss linked an issue Apr 25, 2025 that may be closed by this pull request
private:
uint32_t _width;
uint32_t _height;
glm::ivec2 _size;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can totally remove _size as we don't use it anywhere.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@sonarqubecloud

Copy link
Copy Markdown

@Miou-zora Miou-zora merged commit c254612 into main Apr 26, 2025
11 checks passed
@Miou-zora Miou-zora deleted the 171-make-getwindowsize-more-convenient branch April 26, 2025 07:31
MasterLaplace pushed a commit that referenced this pull request Apr 29, 2025
Related to:
- #171

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Miouzora <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make GetWindowSize more convenient

2 participants