Skip to content

Commit b63cc75

Browse files
committed
Remove Camera.resolution use
1 parent f2fca49 commit b63cc75

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/input/Pointer.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -508,17 +508,8 @@ var Pointer = new Class({
508508
*/
509509
updateWorldPoint: function (camera)
510510
{
511-
var x = this.x;
512-
var y = this.y;
513-
514-
if (camera.resolution !== 1)
515-
{
516-
x += camera._x;
517-
y += camera._y;
518-
}
519-
520511
// Stores the world point inside of tempPoint
521-
var temp = camera.getWorldPoint(x, y);
512+
var temp = camera.getWorldPoint(this.x, this.y);
522513

523514
this.worldX = temp.x;
524515
this.worldY = temp.y;

0 commit comments

Comments
 (0)