imclover07 / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

[broomstick] Bug in Mouse3DManager #185

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is a mistake in Mouse3DManager.as at line 152:
_hitTestRenderer.update((_view.mouseX-_view.x)/_view.width, 
(_view.mouseY-_view.y)/_view.height, collector);

_view.mouseX and _view.mouseY are already in view's local coodinates.

So it should be:
_hitTestRenderer.update(_view.mouseX/_view.width, _view.mouseY/_view.height, 
collector);

Original issue reported on code.google.com by rag...@gmail.com on 13 May 2011 at 9:55