xml3d / xml3d.js

The WebGL/JS implementation of XML3D
Other
75 stars 25 forks source link

generateRay Methode uses window coordinates, not local XML3D element coordinates as documented #70

Closed lachsen closed 8 years ago

lachsen commented 9 years ago

Is it on purpose, that generateRay creates the ray dependent on the window screen coordinate?

It is documentated (in the old specification) that the ray is generated with coordinates relative to the xml3d element (e.g. 0/0 is the upper left corner within the XML3D element).