geometry-interfaces icon indicating copy to clipboard operation
geometry-interfaces copied to clipboard

feat: Point transformation by matrix

Open Finesse opened this issue 5 months ago • 0 comments

  • Implements matrixTransform in DOMPointReadOnly
  • Implements transformPoint in DOMMatrixReadOnly which is the same operation
  • Fixes expectMatricesEqual which doesn't handle epsilon correctly
  • Fixes the DOMPoint constructor which uses an incorrect default value for the w argument (must be 1 according to https://drafts.fxtf.org/geometry/#DOMPoint)

Finesse avatar Oct 06 '25 08:10 Finesse