8000 Removes unused variables in G3D:Ray by Gamemechanicwow · Pull Request #3040 · vmangos/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Removes unused variables in G3D:Ray #3040

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

Conversation

Gamemechanicwow
Copy link
Contributor

🍰 Pullrequest

These are unused variables. Idk if the compiler optimizes them out. But if not, thats some heavy branching in ray::set

If we do want to keep them for future use - i don't see why - i have an example that removes some branching by reordering the enum and uses base3: https://github.com/Gamemechanicwow/core/tree/ray-classification-for-collision

Proof

  • None

Issues

  • None

How2Test

  • None

Todo / Checklist

  • None

@ratkosrb ratkosrb merged commit 6ac635b into vmangos:development May 26, 2025
3 checks passed
@Gamemechanicwow Gamemechanicwow deleted the remove-unused-variables-in-g3d-ray-set branch May 26, 2025 16:50
Stoabrogga pushed a commit to Stoabrogga/vmangos that referenced this pull request May 27, 2025
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
0