W3C home > Mailing lists > Public > public-device-apis-log@w3.org > February 2017

Re: [sensors] Provide the DeviceOrientation sensor

From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
Date: Mon, 27 Feb 2017 12:26:14 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-282706383-1488198372-sysbot+gh@w3.org>
Those  ```void getQuaternion(Float32Array quaternion);``` should 
probably be called populate, if they just returned an object, it 
should just be a property. Making sure these works nicely with the 
popular glMatrix library would be nice, but they seem to. I am a big 
fan on these basically just being arrays. It should also be possible 
to easily construct a DOMMatrix from them.

GitHub Notification of comment by kenchris
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/170#issuecomment-282706383 using
 your GitHub account
Received on Monday, 27 February 2017 12:26:22 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:53 UTC