Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[geometry] DOMPointReadonly matrixTransform() is poorly specified #183
Step 3 says "Post-multiply point with matrixObject." but what does that mean exactly? Specifically, it's unclear how to handle the w value.
Does it mean just initialize a matrix with the x, y, z, w values as:
and then post-multiply that with 'matrix'?
@smfr Initially we just had x, y, z and it was a simple vector multiplied with a matrix (4th value or the vector beeing 1). With the perspective value I agree that this should be changed as you suggest. Then we would probably also need a way to get from the matrix back to the 4 value Point.