Merge pull request #17099 from clark-stevenson/master

Pixi.js v4.5 Update
This commit is contained in:
Yui
2017-06-10 21:09:08 -07:00
committed by GitHub
2 changed files with 501 additions and 268 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@ function basics() {
private renderer: PIXI.WebGLRenderer;
constructor() {
// Renderer should allow options from both WebGLRenderer and underlying SystemRenderer
this.renderer = new PIXI.WebGLRenderer(0, 0, { backgroundColor : 0x272d37, forceFXAA: true });
this.renderer = new PIXI.WebGLRenderer(0, 0, { backgroundColor: 0x272d37, forceFXAA: true });
}
}
@@ -1507,7 +1507,8 @@ function filters() {
maggot.position.y = Math.random() * bounds.height;
maggot.scale.set(1 + Math.random() * 0.3);
maggot.original = maggot.scale.clone();
//tslint:disable-next-line:whitespace
maggot.original = (<PIXI.Point>maggot.scale).clone();
this.maggots.push(maggot);
}