openfl / away3d

An open source, real-time 3D engine for OpenFL
Apache License 2.0
208 stars 35 forks source link

Fix OrthographicLens.unproject #45

Closed rainyt closed 4 years ago

rainyt commented 4 years ago

In file: /src/away3d/cameras/lenses/OrthographicLens.hs

In function unproject

Line: 61 v.y = nX + translation.y;

Should be: v.y = -nY + translation.y;

https://github.com/away3d/away3d-core-fp11/issues/720