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

Release v0.15.0 #200

Merged
merged 1 commit into from
May 5, 2024
Merged

Release v0.15.0 #200

merged 1 commit into from
May 5, 2024

Conversation

sebcrozet
Copy link
Member

Added

  • Add ShapeCastOptions that includes two new options for (linear) shape-casting.
    ShapeCastOptions::target_distance which will return a hit as soon as the moving
    shapes are closer than this distance; and compute_impact_geometry_on_penetration
    which forces the calculation of proper witness points and normals even if the shapes
    are initially intersecting (time_of_impact == 0.0).

Modified

This version modifies many names related to shape-casting:

  • Renamed TOI to ShapeCastHit.
  • Renamed TOIStatus to ShapeCastStatus.
  • Rename RayIntersection::toi to RayIntersection::time_of_impact.
  • More generally, all occurrences of the word toi have been replaced by time_of_impact
    for better clarity.
  • Rename query::time_of_impact to query::cast_shapes. More generally, all the
    functions prefixed with time_of_impact_ (e.g. time_of_impact_ball_ball) are
    now prefixed with cast_shapes_ (e.g. cast_shapes_ball_ball).
  • Rename QueryDispatcher::time_of_impact to QueryDispatcher::cast_shapes.
  • The (linear) shape-casting functions like query::cast_shapes (previously named
    query::time_of_impact) now take a ShapeCastOptionsinstead of themax_toiandstop_at_penetration` arguments.
  • Rename query::nonlinear_time_of_impact to query::cast_shapes_nonlinear.
  • Rename QueryDispatcher::nonlinear_time_of_impact to QueryDispatcher::cast_shapes_nonlinear.
  • Rename NonlinearTOIMode to NonlinearShapeCastMode, and NonlinearTOIMode::DirectionalTOI to
    NonlinearShapeCastMode::Directional.
  • Rename TimeOfImpactStatus::Penetrating to ShapeCastStatus::PenetratingOrWithinTargetDist.

@sebcrozet sebcrozet merged commit 94fec63 into master May 5, 2024
5 checks passed
@sebcrozet sebcrozet deleted the release-0.15.0 branch May 5, 2024 16:08
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.

None yet

1 participant