Skip to content

Address a few TODOs#273

Merged
ThierryBerger merged 9 commits intodimforge:masterfrom
ThierryBerger:todo_simple
Nov 4, 2024
Merged

Address a few TODOs#273
ThierryBerger merged 9 commits intodimforge:masterfrom
ThierryBerger:todo_simple

Conversation

@ThierryBerger
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/lib.rs Outdated
Comment thread src/mass_properties/mass_properties_convex_polygon.rs
Comment thread src/query/epa/epa3.rs Outdated
Comment thread src/query/ray/ray.rs Outdated
Comment on lines 82 to 83
// TODO: use a Unit<Vector> instead. // TODO: Thierry: should we use Unit for [`Ray::dir`] too ?
pub normal: Vector<Real>,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not entirely trivial to do ; and will have API impacts

Copy link
Copy Markdown
Member

@sebcrozet sebcrozet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! This needs CHANGELOG entries to indicate the (breaking) changes.

Comment thread src/lib.rs Outdated
#![deny(non_upper_case_globals)]
#![deny(unused_results)]
#![warn(missing_docs)] // TODO: deny this
#![deny(missing_docs)]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s keep this a warn and remove the TODO. I find it more convenient to just warn locally, and have it fail only on CI by denying warnings.

Comment thread src/mass_properties/mass_properties_convex_polygon.rs
@ThierryBerger ThierryBerger merged commit 68abfc1 into dimforge:master Nov 4, 2024
Comment thread src/bounding_volume/bounding_sphere_utils.rs
@wlinna
Copy link
Copy Markdown
Contributor

wlinna commented Nov 24, 2024

Could we also have a PR for rapier that addresses the removal of IntersectionCompositeShapeShapeBestFirstVisitor? Rapier still uses it and I can't compile the git / local version of it anymore because of this change.

Rapier doesn't just let me use the suggested visitor in place of this

@ThierryBerger
Copy link
Copy Markdown
Contributor Author

Thanks @wlinna for bringing this to our attention!

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.

3 participants