Skip to content

Commit 0f97be3

Browse files
committed
Restored pointer smoothing
1 parent 390f34c commit 0f97be3

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/input/InputManager.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,10 +1330,6 @@ var InputManager = new Class({
13301330
*/
13311331
transformPointer: function (pointer, pageX, pageY, wasMove)
13321332
{
1333-
pointer.x = (pageX - this.bounds.left) * this.scale.x;
1334-
pointer.y = (pageY - this.bounds.top) * this.scale.y;
1335-
1336-
/*
13371333
var p0 = pointer.position;
13381334
var p1 = pointer.prevPosition;
13391335

@@ -1359,7 +1355,6 @@ var InputManager = new Class({
13591355
p0.x = x * a + p1.x * (1 - a);
13601356
p0.y = y * a + p1.y * (1 - a);
13611357
}
1362-
*/
13631358
},
13641359

13651360
/**

0 commit comments

Comments
 (0)