W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2016

[geometry] Discrepancy in calculations, Firefox vs my JS implementation.

From: /#!/JoePea <trusktr@gmail.com>
Date: Fri, 1 Jan 2016 22:18:21 -0800
Message-ID: <CAKU1PAU2C33VaPABoQ2Bc-CGY4qpbv2sOgofS2Tzd9OKntUqSA@mail.gmail.com>
To: public-fx@w3.org
I'm working on polyfills for the Geomtry Interfaces at

In my implementation, the `matrix.rotate(45).a` shows the same result as
the Firefox implementation in the console: `0.7071067811865475`. However,
the result of `matrix.rotateSelf(45).a` differs between my implementation
and Firefox. Mine shows `0.7071067811865475` and Firefox shows `

Any idea why this is? Is this expected? Or might there be a bug somewhere?

Received on Saturday, 2 January 2016 06:19:29 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 2 January 2016 06:19:29 UTC