debug#renderShapeConvex fixed, fix in p2 physics body creation #446

This commit is contained in:
photonstorm committed 2014-02-19 15:43:05 +00:00
1 parent 1d3616f52c
commit aac31bdaa4
4 files changed
+112 -97

No files matched your search

+2 -2
View File
@@ -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');