We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why is there no way to just do Basis3::<f32>::identity()?
Basis3::<f32>::identity()
The text was updated successfully, but these errors were encountered:
You can do Basis3::one() or Basis3::from_quaternion(Quaternion::one())
Basis3::one()
Basis3::from_quaternion(Quaternion::one())
Sorry, something went wrong.
Thanks! I find that to be a bit of an unintuitive way to name it, no?
Yes, well, it's just that cgmath has a One trait that it tries to use everywhere.. It could have an alias method named identity in the basis3
One
identity
No branches or pull requests
Why is there no way to just do
Basis3::<f32>::identity()
?The text was updated successfully, but these errors were encountered: