mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
LibWeb: Add DOMMatrix fromFloat32Array and fromFloat64Array
This commit is contained in:
parent
2e122b16e4
commit
3c27843cfe
9 changed files with 146 additions and 13 deletions
|
@ -7,8 +7,8 @@ interface DOMMatrixReadOnly {
|
|||
constructor(optional (DOMString or sequence<unrestricted double>) init);
|
||||
|
||||
[NewObject] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other = {});
|
||||
// FIXME: [NewObject] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
|
||||
// FIXME: [NewObject] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
|
||||
[NewObject] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
|
||||
[NewObject] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
|
||||
|
||||
// These attributes are simple aliases for certain elements of the 4x4 matrix
|
||||
readonly attribute unrestricted double a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue