- From: /#!/JoePea <trusktr@gmail.com>
- Date: Thu, 31 Dec 2015 00:16:52 -0800
- To: public-fx@w3.org
Received on Thursday, 31 December 2015 08:18:01 UTC
Well, I guess since browser headquarters are in the USA (except for Opera)... It might make sense. */#!/*JoePea On Wed, Dec 30, 2015 at 11:20 PM, /#!/JoePea <trusktr@gmail.com> wrote: > I'm just curious why the spec uses degrees instead of radians for > DOMMatrix rotation methods. Th whole world except for the USA is on the > metric system which uses radians. Plus, radians make more sense and can be > easily described with all of JavaScript's `Math.*` which also use radians, > so it would make sense to use radians in DOMMatrix as well. > > If someone really wants to use degrees, they can just use: > > ```js > function toDegrees (angle) { > return angle * (180 / Math.PI); > } > ``` > > */#!/*JoePea >
Received on Thursday, 31 December 2015 08:18:01 UTC