Skip to content

Commit 9b09d32

Browse files
authored
Merge pull request phaserjs#4062 from s-s/bugfix-4010
phaserjs#4010 fix
2 parents 91f15a9 + 948ed58 commit 9b09d32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cameras/2d/BaseCamera.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,8 @@ var BaseCamera = new Class({
802802
var sy = y + ((scrollX * s + scrollY * c) * zoom);
803803

804804
// Apply transform to point
805-
output.x = (sx * ima + sy * imc + ime) * res;
806-
output.y = (sx * imb + sy * imd + imf) * res;
805+
output.x = (sx * ima + sy * imc) * res + ime;
806+
output.y = (sx * imb + sy * imd) * res + imf;
807807

808808
return output;
809809
},

0 commit comments

Comments
 (0)