mirror of
https://github.com/photonstorm/phaser
synced 2024-11-17 02:08:40 +00:00
Restored pointer smoothing
This commit is contained in:
parent
390f34c8d9
commit
0f97be3624
1 changed files with 0 additions and 5 deletions
|
@ -1330,10 +1330,6 @@ var InputManager = new Class({
|
|||
*/
|
||||
transformPointer: function (pointer, pageX, pageY, wasMove)
|
||||
{
|
||||
pointer.x = (pageX - this.bounds.left) * this.scale.x;
|
||||
pointer.y = (pageY - this.bounds.top) * this.scale.y;
|
||||
|
||||
/*
|
||||
var p0 = pointer.position;
|
||||
var p1 = pointer.prevPosition;
|
||||
|
||||
|
@ -1359,7 +1355,6 @@ var InputManager = new Class({
|
|||
p0.x = x * a + p1.x * (1 - a);
|
||||
p0.y = y * a + p1.y * (1 - a);
|
||||
}
|
||||
*/
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue