mirror of
https://github.com/photonstorm/phaser
synced 2024-11-17 18:28:57 +00:00
commit
9b09d32426
1 changed files with 2 additions and 2 deletions
|
@ -802,8 +802,8 @@ var BaseCamera = new Class({
|
||||||
var sy = y + ((scrollX * s + scrollY * c) * zoom);
|
var sy = y + ((scrollX * s + scrollY * c) * zoom);
|
||||||
|
|
||||||
// Apply transform to point
|
// Apply transform to point
|
||||||
output.x = (sx * ima + sy * imc + ime) * res;
|
output.x = (sx * ima + sy * imc) * res + ime;
|
||||||
output.y = (sx * imb + sy * imd + imf) * res;
|
output.y = (sx * imb + sy * imd) * res + imf;
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue