Open dirkschulze opened 6 years ago
Calling w
"the perspective" is very confusing, though. As far as I can see, w
is just a regular coordinate in ℝ4 and DOMPoints are just four-component vectors (I could store RGBA values in them, if I wanted). And they should be labelled as such - something like:
The x, y, z and w coordinates represent an arbitrary point in a four-dimensional space. By convention, they are treated as a homogeneous representation of points in ℙℝ3 with the Euclidean space embedded at w=1, and the x, y and z coordinates giving the normal three-dimensional position.
AKA It's awfully convenient to do 3D maths in 4D with the fourth coordinate set to 1.
Reported by Joe Pea on https://www.w3.org/Bugs/Public/show_bug.cgi?id=30098:
From @zcorpan