Skip to content
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

[rmodels] DrawSphereEx() optimization #4106

Merged
merged 7 commits into from
Jun 30, 2024
Merged

Commits on Jun 25, 2024

  1. Optimize DrawSphereEx()

    Precalculates sin/cos to eliminate unnecessary calls.
    smalltimewizard authored Jun 25, 2024
    Configuration menu
    Copy the full SHA
    1db90f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8b687d View commit details
    Browse the repository at this point in the history
  3. Bugfix to optimized DrawSphereEx()

    OBO error -- added 1 additional precalculated cos/sin value to each array to complete the 360-degree wraparound. Technically the value of these last elements will always be the same as the first element due to 360-degree wraparound, but this is the simplest solution.
    smalltimewizard authored Jun 25, 2024
    Configuration menu
    Copy the full SHA
    28e60eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    260c2f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    f5a734e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    470baf9 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Configuration menu
    Copy the full SHA
    0231e41 View commit details
    Browse the repository at this point in the history