The spec contains quite a lot of math to convert the APIs return value into other representations. As show in the examples, that makes for a lot of complex mathematical conversations in JS.
Why don't we allow instead allow developers to request some common alternatives representations? Or provide some static methods to do the conversion (.toQuaternions() or whatever). That would make the API potentially more developer friendly without needing developers to do a bunch of complicated mathematical conversions themselves.
The spec contains quite a lot of math to convert the APIs return value into other representations. As show in the examples, that makes for a lot of complex mathematical conversations in JS.
Why don't we allow instead allow developers to request some common alternatives representations? Or provide some static methods to do the conversion (
.toQuaternions()or whatever). That would make the API potentially more developer friendly without needing developers to do a bunch of complicated mathematical conversions themselves.