Open thorlucas opened 3 years ago
You can do Basis3::one()
or Basis3::from_quaternion(Quaternion::one())
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
Why is there no way to just do
Basis3::<f32>::identity()
?