Skip to content

Improved CMakelists and main.cpp - #2

Open
thenitinshukla wants to merge 2 commits into
keyframe41:masterfrom
thenitinshukla:master
Open

thenitinshukla wants to merge 2 commits into
keyframe41:masterfrom
thenitinshukla:master

Conversation

@thenitinshukla

Copy link
Copy Markdown

The code was not compiling on the WSL Linux distro because it was compiled only for macOS. There was also an issue with the font, which has now been fixed.

Refactor main function for improved readability and organization. Added constants for screen size, frame rate, and particle counts. Enhanced error handling for font loading.

@SamHerts SamHerts left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What does this refactor do exactly? It turns a 150 line file into a 600 line file with too many comments that don't actually provide anything meaningful.

It's better to have more direct commits with meaningful change messages as well as provide information as to why the changes are necessary or good.

@gandie gandie mentioned this pull request Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants