-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Rename RayTest to RayCast #11635
Rename RayTest to RayCast #11635
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change is reasonable. People might have some extra expectations for something called RayCast
and not just bounding volume intersections, but the docs do mention it, the structs are in the bounding
module to begin with, and the consistency in naming is valuable.
It looks like your PR is a breaking change, but you didn't provide a migration guide. Could you add some context on what users should update when this change get released in a new version of Bevy? |
# Objective - `RayTest` vs `AabbCast` and `CircleCast` is inconsistent ## Solution - Renaming the other two would only make the name more confusing, so we rename `RayTest2d/3d` to `RayCast2d/3d`
Objective
RayTest
vsAabbCast
andCircleCast
is inconsistentSolution
RayTest2d/3d
toRayCast2d/3d