It's often really useful to be able to take fractions of a rotation, or multiples. I believe this should be equivalent to slerping the rotor with the identity rotor, but I'd love a gut check on that from someone who groks rotors better than I do.
i.e. does something like this make sense for scaling a rotation?
fn scale_rotation_by(rotor: Rotor3, factor: f32) -> Rotor3 {
Rotor3::identity().slerp(rotor, factor)
}
Assuming that does work, any thoughts on adding methods to the rotor types for this sort of thing? I had initially assumed that the multiplication operator would be wired up to perform scaling, but that does not appear to be the case :)
It's often really useful to be able to take fractions of a rotation, or multiples. I believe this should be equivalent to slerping the rotor with the identity rotor, but I'd love a gut check on that from someone who groks rotors better than I do.
i.e. does something like this make sense for scaling a rotation?
Assuming that does work, any thoughts on adding methods to the rotor types for this sort of thing? I had initially assumed that the multiplication operator would be wired up to perform scaling, but that does not appear to be the case :)