Re: [deviceorientation] Alternative orientation representations? (#182)

I expect that developers using these sensors as the input to other calculations have access to libraries which can perform these types of conversions. I think the more important question is whether any precision is lost in converting the orientation data provided by the platform to Euler angles. For example, on Android the system natively provides a quaternion and so conversion is required to construct a `DeviceOrientationEvent` while it is not required to update the reading provided by an `OrientationSensor`. Adding a quaternion accessor here (and performing conversion to Euler angles lazily) might be more efficient on that platform.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/182#issuecomment-2168839349 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 14 June 2024 22:27:30 UTC