Skip to content

Rendering: Make variables const, make casts explicit #106521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nukethebees
Copy link

Made variables const where possible to help with readability. It's especially useful in huge functions like _scene_cull.

…, and changed const references to small objects (<= 8 bytes) to copies.
@nukethebees nukethebees requested a review from a team as a code owner May 17, 2025 12:52
@Ivorforce Ivorforce added this to the 4.x milestone May 17, 2025
@AThousandShips AThousandShips changed the title Consted many variables, made casts explicit Rendering: Make variables const, make casts explicit May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants