Skip to content

Refactor: BoundingSphereDebug optimization + javadoc #2465

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 3 commits into
base: master
Choose a base branch
from

Conversation

capdevon
Copy link
Contributor

This PR significantly refactors the BoundingSphereDebug class to improve code clarity, efficiency, and maintainability.

Key changes include:

  • Enhanced Javadoc: Comprehensive and precise Javadoc comments have been added to the class and its methods.
  • Streamlined Geometry Generation: The setGeometryData method is now more concise and readable, utilizing a helper method to prevent code duplication.
  • Optimized Indexing: The setIndexData method has been simplified for better readability and efficiency.
  • Removed Unused Fields: Unnecessary class fields (vertCount, triCount, useEvenSlices, interior) have been removed.

These changes result in a cleaner, more robust, and easier-to-understand BoundingSphereDebug implementation.

@yaRnMcDonuts yaRnMcDonuts added this to the v3.9.0 milestone May 29, 2025
Optimize code for geometry data generation
@capdevon capdevon changed the title Refactor: Optimize BoundingSphereDebug Class Refactor: BoundingSphereDebug optimization + javadoc Jun 13, 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