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

Added model_recalculate_bounds_exact() #578

Merged
merged 3 commits into from
Jan 21, 2023

Commits on Jan 20, 2023

  1. Added model_recalculate_bounds_exact() to compute a model

    bound based on (transformed) vertices, instead of using per-mesh
    AABBs. Main reason for this is to have a much tighter bound,
    especially for interaction volumes.
    paulmelis committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    5d1c439 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. Configuration menu
    Copy the full SHA
    92d5415 View commit details
    Browse the repository at this point in the history
  2. Use DirectXMath functions for speeding up exact

    bounds computation. On a large unoptimized GLB file
    with 5.4M vertices and 5.4M indices exact bound
    computation goes from 99ms to 33ms. Tested with the
    C API on Linux.
    paulmelis committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    14f4719 View commit details
    Browse the repository at this point in the history