Author Topic: Interact2D.reproject2D3DWS returns wrong result...  (Read 2107 times)

Offline Uwe Siems

  • byte
  • *
  • Posts: 5
    • View Profile
Interact2D.reproject2D3DWS returns wrong result...
« on: August 10, 2011, 08:44:58 pm »
...if Camera.setDirection was called with non-orthogonal vectors. This obviously is corrected for the camera view, but not for the result of Interact2D.reproject2D3DWS.
It's easy to avoid for me, but at first I wondered what was wrong.

Regards,
Uwe

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11769
    • View Profile
    • http://www.jpct.net
Re: Interact2D.reproject2D3DWS returns wrong result...
« Reply #1 on: August 10, 2011, 09:25:41 pm »
setDirection()? You mean setOrientation(), don't you? If so, i don't consider this to be a bug. You shouldn't set non-orthogonal vectors for this as the result can be anything...i'll enhance the docs for this method.

Offline Uwe Siems

  • byte
  • *
  • Posts: 5
    • View Profile
Re: Interact2D.reproject2D3DWS returns wrong result...
« Reply #2 on: August 11, 2011, 02:31:20 pm »
Yes, of course, it was Camera.setOrientation.