Skip to content

Commit 9c71afb

Browse files
committed
New 2.3 build files.
1 parent afd4108 commit 9c71afb

16 files changed

Lines changed: 10609 additions & 5265 deletions

build/custom/ninja.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/p2.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10158,7 +10158,7 @@ Capsule.prototype = new Shape();
1015810158
* @method conputeMomentOfInertia
1015910159
* @param {Number} mass
1016010160
* @return {Number}
10161-
* @todo
10161+
* @todo !
1016210162
*/
1016310163
Capsule.prototype.computeMomentOfInertia = function(mass){
1016410164
// Approximate with rectangle
@@ -16328,6 +16328,9 @@ Phaser.Physics.P2.Body.prototype = {
1632816328
*/
1632916329
clearCollision: function (clearGroup, clearMask, shape) {
1633016330

16331+
if (typeof clearGroup === 'undefined') { clearGroup = true; }
16332+
if (typeof clearMask === 'undefined') { clearMask = true; }
16333+
1633116334
if (typeof shape === 'undefined')
1633216335
{
1633316336
for (var i = this.data.shapes.length - 1; i >= 0; i--)
@@ -16426,6 +16429,7 @@ Phaser.Physics.P2.Body.prototype = {
1642616429
adjustCenterOfMass: function () {
1642716430

1642816431
this.data.adjustCenterOfMass();
16432+
this.shapeChanged();
1642916433

1643016434
},
1643116435

@@ -17952,7 +17956,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, {
1795217956
/**
1795317957
* Draws the P2 shapes to the Graphics object.
1795417958
*
17955-
* @method Phaser.Physics.P2.BodyDebug#draw
17959+
* @method Phaser.Physics.P2.BodyDebug#drawRectangle
1795617960
*/
1795717961
drawRectangle: function(g, x, y, angle, w, h, color, fillColor, lineWidth) {
1795817962

@@ -17986,7 +17990,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, {
1798617990
/**
1798717991
* Draws a P2 Line shape.
1798817992
*
17989-
* @method Phaser.Physics.P2.BodyDebug#drawCircle
17993+
* @method Phaser.Physics.P2.BodyDebug#drawLine
1799017994
*/
1799117995
drawLine: function(g, len, color, lineWidth) {
1799217996

build/custom/p2.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)