webgpu / webgpufundamentals

https://webgpufundamentals.org
BSD 3-Clause "New" or "Revised" License
624 stars 88 forks source link

Cross product ilustrations in Camera article shows the resulting vector pointing in the opposite way #83

Closed Tomycj closed 7 months ago

Tomycj commented 8 months ago

In the article about cameras there's an ilustration showing how to get the X axis from the Z axis, by doing UP cross Z, but the resulting vector points in the wrong (opposite) direction. UP cross Z should point to the right (looking from the back of the camera).

The ilustration for the Y axis has the same issue, but the final Y axis direction is correct because the two issues "cancel out". image

greggman commented 8 months ago

Thanks for pointing that out