Re: [csswg-drafts] [css-color-4] multiplyMatrices is undefined (#6769)

It seemed obvious, because the matrix multiplication in the sample code is multiplying a 3x3 matrix with a 1x3 vector and thus it is column-major.

But certainly no problem with saying so explicitly.

The library has changed, I was originally using [math.js](https://mathjs.org/index.html) which is capable but huge. Now it is using the [simplest possible matrix multiply](https://github.com/w3c/csswg-drafts/blob/main/css-color-4/multiply-matrices.js)

The main point in doing so is for clarity, rather than inlining all the multiplies and adds which is much harder to read and obscures the point.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6769#issuecomment-953034895 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 27 October 2021 15:18:37 UTC