- From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
- Date: Sun, 19 May 2024 02:52:23 +0000
- To: public-device-apis-log@w3.org
marcoscaceres has just created a new issue for https://github.com/w3c/deviceorientation: == Alternative orientation representations? == 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. Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/182 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 19 May 2024 02:52:24 UTC