jPCT - a 3d engine for Java > Bugs

Interact2D.reproject2D3DWS returns wrong result...

(1/1)

Uwe Siems:
...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

EgonOlsen:
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.

Uwe Siems:
Yes, of course, it was Camera.setOrientation.

Navigation

[0] Message Index

Go to full version