alexvoz / as3isolib

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

IsoView isoToLocal changes the given point #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. call IsoView.isoToLocal(p)
2. p0 is changed

What is the expected output? What do you see instead?
p0 not changed

Please provide any additional information below.

public function isoToLocal( isoPt:Pt ):Point {
    isoPt = IsoMath.isoToScreen( isoPt );
    [...]
}

should be changed to:
public function isoToLocal( isoPt:Pt ):Point {
    isoPt = IsoMath.isoToScreen( isoPt, true );
    [...]
}

Original issue reported on code.google.com by vierzigu...@gmail.com on 25 Jun 2011 at 2:13