RenderTexture update

RenderTexture added (webGL and Canvas)
WebGL Render rearchitected - a little faster :)
Pivot added to DisplayObject
docs updated
grunt file updated
This commit is contained in:
Mat Groves 2013-05-22 18:44:20 +01:00
parent ba5a79c606
commit 88b863155a
82 changed files with 14133 additions and 6332 deletions

View file

@ -67,6 +67,8 @@
<li><a href="..&#x2F;classes/Rectangle.html">Rectangle</a></li>
<li><a href="..&#x2F;classes/RenderTexture.html">RenderTexture</a></li>
<li><a href="..&#x2F;classes/Sprite.html">Sprite</a></li>
<li><a href="..&#x2F;classes/SpriteSheetLoader.html">SpriteSheetLoader</a></li>
@ -174,6 +176,8 @@ PIXI.BaseTexture = function(source)
*&#x2F;
this.source = source&#x2F;&#x2F;new Image();
if(!source)return;
if(this.source instanceof Image)
{
if(this.source.complete)
@ -207,7 +211,6 @@ PIXI.BaseTexture = function(source)
this.width = this.source.width;
this.height = this.source.height;
&#x2F;&#x2F;console.log(&quot;&gt;!!&quot;,this.width)
PIXI.texturesToUpdate.push(this);
}