Rebuild Files

This commit is contained in:
Mat Groves 2014-02-12 10:33:55 +00:00
parent 80688885b5
commit c759801b2e
2 changed files with 98 additions and 98 deletions

View file

@ -1,14 +1,14 @@
/**
* @license
* pixi.js - v1.5.0
* Copyright (c) 2012-2014, Mat Groves
* http://goodboydigital.com/
*
* Compiled: 2014-02-10
*
* pixi.js is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license.php
*/
/**
* @license
* pixi.js - v1.5.0
* Copyright (c) 2012-2014, Mat Groves
* http://goodboydigital.com/
*
* Compiled: 2014-02-12
*
* pixi.js is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license.php
*/
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -16,7 +16,7 @@
(function(){
var root = this;
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -70,7 +70,7 @@ PIXI.INTERACTION_FREQUENCY = 30;
PIXI.AUTO_PREVENT_DEFAULT = true;
PIXI.RAD_TO_DEG = 180 / Math.PI;
PIXI.DEG_TO_RAD = Math.PI / 180;
PIXI.DEG_TO_RAD = Math.PI / 180;
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -120,7 +120,7 @@ PIXI.Point.prototype.set = function(x, y)
this.y = y || ( (y !== 0) ? this.x : 0 ) ;
};
/**
* @author Mat Groves http://matgroves.com/
*/
@ -207,7 +207,7 @@ PIXI.Rectangle.prototype.contains = function(x, y)
// constructor
PIXI.Rectangle.prototype.constructor = PIXI.Rectangle;
PIXI.EmptyRectangle = new PIXI.Rectangle(0,0,0,0);
PIXI.EmptyRectangle = new PIXI.Rectangle(0,0,0,0);
/**
* @author Adrien Brault <adrien.brault@gmail.com>
*/
@ -285,7 +285,7 @@ PIXI.Polygon.prototype.contains = function(x, y)
// constructor
PIXI.Polygon.prototype.constructor = PIXI.Polygon;
/**
* @author Chad Engler <chad@pantherdev.com>
*/
@ -360,7 +360,7 @@ PIXI.Circle.prototype.contains = function(x, y)
// constructor
PIXI.Circle.prototype.constructor = PIXI.Circle;
/**
* @author Chad Engler <chad@pantherdev.com>
*/
@ -453,7 +453,7 @@ PIXI.Ellipse.prototype.getBounds = function()
// constructor
PIXI.Ellipse.prototype.constructor = PIXI.Ellipse;
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -545,7 +545,7 @@ PIXI.Matrix.prototype.toArray = function(transpose)
return array;//[this.a, this.b, this.tx, this.c, this.d, this.ty, 0, 0, 1];
};
PIXI.identityMatrix = new PIXI.Matrix();
PIXI.identityMatrix = new PIXI.Matrix();
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -954,8 +954,8 @@ PIXI.DisplayObject.prototype.updateTransform = function()
a01 = -this._sr * this.scale.y,
a10 = this._sr * this.scale.x,
a11 = this._cr * this.scale.y,
a02 = this.position.x + a00 * px - py * a01,
a12 = this.position.y + a11 * py - px * a10,
a02 = this.position.x - a00 * px - py * a01,
a12 = this.position.y - a11 * py - px * a10,
b00 = parentTransform.a, b01 = parentTransform.b,
b10 = parentTransform.c, b11 = parentTransform.d;
@ -1064,7 +1064,7 @@ Object.defineProperty(PIXI.DisplayObject.prototype, 'y', {
this.position.y = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -1477,7 +1477,7 @@ PIXI.DisplayObjectContainer.prototype._renderCanvas = function(renderSession)
{
renderSession.maskManager.popMask(renderSession.context);
}
};
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -1951,7 +1951,7 @@ PIXI.Sprite.fromImage = function(imageId)
var texture = PIXI.Texture.fromImage(imageId);
return new PIXI.Sprite(texture);
};
/**
* @author Mat Groves http://matgroves.com/
*/
@ -2126,7 +2126,7 @@ PIXI.SpriteBatch.prototype._renderCanvas = function(renderSession)
context.restore();
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -2293,7 +2293,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
}
}
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -2304,7 +2304,7 @@ PIXI.FilterBlock = function()
this.visible = true;
this.renderable = true;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -2621,7 +2621,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
};
PIXI.Text.heightCache = {};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -2818,7 +2818,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
};
PIXI.BitmapText.fonts = {};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -2881,7 +2881,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
};
// constructor
PIXI.InteractionData.prototype.constructor = PIXI.InteractionData;
PIXI.InteractionData.prototype.constructor = PIXI.InteractionData;
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -3597,7 +3597,7 @@ PIXI.InteractionManager.prototype.onTouchEnd = function(event)
this.touchs[touchEvent.identifier] = null;
}
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -3733,7 +3733,7 @@ PIXI.Stage.prototype.getMousePosition = function()
{
return this.interactionManager.mouse.global;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -3931,7 +3931,7 @@ PIXI.getNextPowerOfTwo = function(number)
return result;
}
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -4039,7 +4039,7 @@ PIXI.EventTarget = function () {
a.length = 0;
};
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -4079,7 +4079,7 @@ PIXI.autoDetectRenderer = function(width, height, view,antialias,transparent)
return new PIXI.CanvasRenderer(width, height, view, transparent);
};
/*
PolyK library
url: http://polyk.ivank.net
@ -4249,7 +4249,7 @@ PIXI.PolyK._convex = function(ax, ay, bx, by, cx, cy, sign)
{
return ((ay-by)*(cx-bx) + (bx-ax)*(cy-by) >= 0) === sign;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -4307,7 +4307,7 @@ PIXI.compileProgram = function(gl, vertexSrc, fragmentSrc)
return shaderProgram;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
* @author Richard Davey http://www.photonstorm.com @photonstorm
@ -4656,7 +4656,7 @@ PIXI.PixiShader.defaultVertexSrc = [
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
* @author Richard Davey http://www.photonstorm.com @photonstorm
@ -4803,7 +4803,7 @@ PIXI.PixiFastShader.prototype.destroy = function()
this.attributes = null;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -4884,7 +4884,7 @@ PIXI.StripShader.prototype.init = function()
this.program = program;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -4989,7 +4989,7 @@ PIXI.PrimitiveShader.prototype.destroy = function()
this.attribute = null;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -5530,7 +5530,7 @@ PIXI.WebGLGraphics.buildPoly = function(graphicsData, webGLData)
r, g, b, alpha);
}
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -6087,7 +6087,7 @@ PIXI.WebGLRenderer.prototype.destroy = function()
PIXI.WebGLRenderer.glContextId = 0;
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -6184,7 +6184,7 @@ PIXI.WebGLMaskManager.prototype.destroy = function()
{
this.maskStack = null;
this.gl = null;
};
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -6343,7 +6343,7 @@ PIXI.WebGLShaderManager.prototype.destroy = function()
this.gl = null;
};
/**
* @author Mat Groves
*
@ -6838,7 +6838,7 @@ PIXI.WebGLSpriteBatch.prototype.destroy = function()
this.gl = null;
};
/**
* @author Mat Groves
*
@ -7188,7 +7188,7 @@ PIXI.WebGLFastSpriteBatch.prototype.setBlendMode = function(blendMode)
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -7639,7 +7639,7 @@ PIXI.WebGLFilterManager.prototype.destroy = function()
gl.deleteBuffer(this.uvBuffer);
gl.deleteBuffer(this.colorBuffer);
gl.deleteBuffer(this.indexBuffer);
};
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -7724,7 +7724,7 @@ PIXI.FilterTexture.prototype.destroy = function()
this.frameBuffer = null;
this.texture = null;
};
/**
* @author Mat Groves
*
@ -7772,7 +7772,7 @@ PIXI.CanvasMaskManager.prototype.pushMask = function(maskData, context)
PIXI.CanvasMaskManager.prototype.popMask = function(context)
{
context.restore();
};
};
/**
* @author Mat Groves
@ -8014,7 +8014,7 @@ PIXI.CanvasTinter.canUseMultiply = PIXI.canUseNewCanvasBlendModes();
PIXI.CanvasTinter.tintMethod = PIXI.CanvasTinter.canUseMultiply ? PIXI.CanvasTinter.tintWithMultiply : PIXI.CanvasTinter.tintWithPerPixel;
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -8404,7 +8404,7 @@ PIXI.CanvasBuffer.prototype.resize = function(width, height)
this.height = this.canvas.height = height;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -8642,7 +8642,7 @@ PIXI.CanvasGraphics.renderGraphicsMask = function(graphics, context)
}
}
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -9273,7 +9273,7 @@ PIXI.Graphics.POLY = 0;
PIXI.Graphics.RECT = 1;
PIXI.Graphics.CIRC = 2;
PIXI.Graphics.ELIP = 3;
/**
* @author Mat Groves http://matgroves.com/
*/
@ -9385,7 +9385,7 @@ PIXI.Strip.prototype.setTexture = function(texture)
PIXI.Strip.prototype.onTextureUpdate = function()
{
this.updateFrame = true;
};
};
/* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -9575,7 +9575,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
this.texture = texture;
this.updateFrame = true;
};
/**
* @author Mat Groves http://matgroves.com/
*/
@ -9985,7 +9985,7 @@ PIXI.TilingSprite.prototype.generateTilingTexture = function(forcePowerOfTwo)
this.tilingTexture.baseTexture._powerOf2 = true;
};
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
@ -11456,7 +11456,7 @@ PIXI.Spine.prototype.createSprite = function (slot, descriptor) {
slot.sprites[descriptor.name] = sprite;
return sprite;
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -11645,7 +11645,7 @@ PIXI.BaseTexture.fromCanvas = function(canvas, scaleMode)
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -11900,7 +11900,7 @@ PIXI.TextureUvs = function()
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -12112,7 +12112,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, position, cl
context.setTransform(1,0,0,1,0,0);
};
PIXI.RenderTexture.tempMatrix = new PIXI.Matrix();
PIXI.RenderTexture.tempMatrix = new PIXI.Matrix();
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -12272,7 +12272,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function(loader)
if(this.onComplete) this.onComplete();
}
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -12442,7 +12442,7 @@ PIXI.JsonLoader.prototype.onError = function () {
type: 'error',
content: this
});
};
};
/**
* @author Martin Kelm http://mkelm.github.com
*/
@ -12633,7 +12633,7 @@ PIXI.AtlasLoader.prototype.onError = function () {
content: this
});
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -12733,7 +12733,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
content: this
});
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -12848,7 +12848,7 @@ PIXI.ImageLoader.prototype.loadFramedSpriteSheet = function(frameWidth, frameHei
this.onLoaded();
}
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13023,7 +13023,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
{
this.dispatchEvent({type: 'loaded', content: this});
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
@ -13106,7 +13106,7 @@ PIXI.SpineLoader.prototype.onLoaded = function () {
this.dispatchEvent({type: "loaded", content: this});
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13153,7 +13153,7 @@ PIXI.AbstractFilter = function(fragmentSrc, uniforms)
*/
this.fragmentSrc = fragmentSrc || [];
};
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13246,7 +13246,7 @@ Object.defineProperty(PIXI.AlphaMaskFilter.prototype, 'map', {
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13305,7 +13305,7 @@ Object.defineProperty(PIXI.ColorMatrixFilter.prototype, 'matrix', {
set: function(value) {
this.uniforms.matrix.value = value;
}
});
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13357,7 +13357,7 @@ Object.defineProperty(PIXI.GrayFilter.prototype, 'gray', {
this.uniforms.gray.value = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13486,7 +13486,7 @@ Object.defineProperty(PIXI.DisplacementFilter.prototype, 'offset', {
this.uniforms.offset.value = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13548,7 +13548,7 @@ Object.defineProperty(PIXI.PixelateFilter.prototype, 'size', {
this.uniforms.pixelSize.value = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13602,7 +13602,7 @@ Object.defineProperty(PIXI.BlurXFilter.prototype, 'blur', {
this.uniforms.blur.value = (1/7000) * value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13655,7 +13655,7 @@ Object.defineProperty(PIXI.BlurYFilter.prototype, 'blur', {
this.uniforms.blur.value = (1/7000) * value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13723,7 +13723,7 @@ Object.defineProperty(PIXI.BlurFilter.prototype, 'blurY', {
this.blurYFilter.blur = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13776,7 +13776,7 @@ Object.defineProperty(PIXI.InvertFilter.prototype, 'invert', {
this.uniforms.invert.value = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13830,7 +13830,7 @@ Object.defineProperty(PIXI.SepiaFilter.prototype, 'sepia', {
this.uniforms.sepia.value = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13931,7 +13931,7 @@ Object.defineProperty(PIXI.TwistFilter.prototype, 'angle', {
this.dirty = true;
this.uniforms.angle.value = value;
}
});
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -13983,7 +13983,7 @@ Object.defineProperty(PIXI.ColorStepFilter.prototype, 'step', {
this.uniforms.step.value = value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
* original filter: https://github.com/evanw/glfx.js/blob/master/src/filters/fun/dotscreen.js
@ -14069,7 +14069,7 @@ Object.defineProperty(PIXI.DotScreenFilter.prototype, 'angle', {
this.dirty = true;
this.uniforms.angle.value = value;
}
});
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -14136,7 +14136,7 @@ Object.defineProperty(PIXI.CrossHatchFilter.prototype, 'blur', {
this.uniforms.blur.value = (1/7000) * value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
@ -14186,7 +14186,7 @@ Object.defineProperty(PIXI.RGBSplitFilter.prototype, 'angle', {
this.uniforms.blur.value = (1/7000) * value;
}
});
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/

File diff suppressed because one or more lines are too long