-
Notifications
You must be signed in to change notification settings - Fork 156
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
Remove Angle? #22
Comments
I think it probably does make sense to remove it on balance. A lot of my use of |
Note that everything that did take I plan to released this and a bunch of other breaking changes as version 0.8.0, once I've got everything else done. |
Sweet. And yeah the |
EmbarkStudios/rust-ecosystem#36 (comment) fixed in release 0.8.0. |
Awesome thanks! |
Have there been any thoughts about keeping or removing the
Angle
type?I'm a bit conflicted but it feels a bit out of place to have a higher level type wrapper like
Angle
to make radians vs degrees explicit and safe, but at the same time not have a type such asPoint3
.I'm not proposing to add a
Point3
though and think it is good to just have the core primitive types here.I do like the explicitness of
Angle::from_radians
but I could just as well seeglam
declaring that all angles are radians (which is how they are stored anyway) and that is how we've have defined inside our engine as well.So I do have a slight preference to simply not having an
Angle
type, and wanted to start a discussion to see what @bitshifter and everyone else thinks.The text was updated successfully, but these errors were encountered: