Skip to content

Tiny optimization to laser culling.#6733

Merged
wookieejedi merged 1 commit into
scp-fs2open:masterfrom
Kestrellius:optimize-laser-culling
May 26, 2025
Merged

Tiny optimization to laser culling.#6733
wookieejedi merged 1 commit into
scp-fs2open:masterfrom
Kestrellius:optimize-laser-culling

Conversation

@Kestrellius

Copy link
Copy Markdown
Contributor

This just moves a couple things around to reduce the number of modular curves we need to query in cases where we're not going to render the laser anyway.

@JohnAFernandez JohnAFernandez left a comment

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.

This looks like a safe optimization

@wookieejedi wookieejedi added the cleanup A modification or rewrite of code to make it more understandable or easier to maintain. label May 25, 2025
@wookieejedi

Copy link
Copy Markdown
Member

Also looks good to me and will plan to merge tomorrow

@wookieejedi wookieejedi merged commit ce4522d into scp-fs2open:master May 26, 2025
16 checks passed
Kestrellius added a commit to Kestrellius/fs2open.github.com that referenced this pull request May 26, 2025
@Kestrellius Kestrellius deleted the optimize-laser-culling branch May 26, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup A modification or rewrite of code to make it more understandable or easier to maintain.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants