mirror of
https://github.com/wassname/phaser.git
synced 2026-07-19 11:26:26 +08:00
debug#renderShapeConvex fixed, fix in p2 physics body creation #446
This commit is contained in:
+2
-2
@@ -872,8 +872,8 @@ Phaser.Physics.Body.prototype = {
|
||||
// Now process them into p2 values
|
||||
for (var p = 0; p < path.length; p++)
|
||||
{
|
||||
path[p][0] = this.px2p(path[p][0]);
|
||||
path[p][1] = this.px2p(path[p][1]);
|
||||
path[p][0] = this.px2pi(path[p][0]);
|
||||
path[p][1] = this.px2pi(path[p][1]);
|
||||
}
|
||||
|
||||
// console.log('addPolygon PATH POST');
|
||||
|
||||
Reference in New Issue
Block a user