You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the result of matrixTransform() can be a non-homogeneous point (w != 1), it might be useful with a method that makes the point homogeneous (if possible).
I don't think they stop being homogenous coordinates when w departs from unity. But you can do "perspective division" which divides each component by w, and returns w to one under most situations.
https://drafts.fxtf.org/geometry/#DOMPoint
https://en.wikipedia.org/wiki/Transformation_matrix#Perspective_projection
Since the result of
matrixTransform()
can be a non-homogeneous point (w != 1), it might be useful with a method that makes the point homogeneous (if possible).Thoughts? @fsoder @smfr @hwanseung
The text was updated successfully, but these errors were encountered: