[fxtf-drafts] Consider using Typed Arrays for matrices and static transform operations

esprehn has just created a new issue for https://github.com/w3c/fxtf-drafts:

== Consider using Typed Arrays for matrices and static transform operations ==
Existing code and WebGL represent matrices as a Typed Array, perhaps we should instead make the matrix operations be statics.

ex.
```js
Float32Array = DOMMatrix.translate(Float32Array, Float32Array);
```

and the self() versions would modify one of matrices in place. This better matches the API surface available today and avoids having to indirect through DOMMatrix and then convert back into a Float32Array to use it with WebGL. 

@bfgeek

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/123 using your GitHub account

Received on Tuesday, 28 March 2017 23:42:48 UTC