thcmedia / papervision3d

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

CameraObject3D.unproject() code redundancy #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in line 185 of CameraObject3D.as:

        var persp:Number = (focus*zoom) / (focus);

needs to be replaced with the equivalent:

        var persp:Number = zoom;

Original issue reported on code.google.com by alexleykin on 1 Oct 2008 at 3:05

GoogleCodeExporter commented 8 years ago
Actually, this is not redundant in that way.

Original comment by r.hauw...@gmail.com on 17 Oct 2008 at 1:43

GoogleCodeExporter commented 8 years ago
can you elaborate on why?
(focus*zoom) / (focus) = zoom 
if (focus != 0)

Original comment by alexleykin on 17 Oct 2008 at 1:59