Skip to content

Commit 8dadc19

Browse files
committed
Version 4.0.0.
1 parent 0c77ef8 commit 8dadc19

File tree

5 files changed

+45
-41
lines changed

5 files changed

+45
-41
lines changed

build/postprocessing.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* postprocessing v3.1.0 build Dec 10 2017
2+
* postprocessing v4.0.0 build Dec 14 2017
33
* https://github.com/vanruesc/postprocessing
44
* Copyright 2017 Raoul van Rüschen, Zlib
55
*/
@@ -1278,8 +1278,8 @@
12781278
key: "setSize",
12791279
value: function setSize(width, height) {}
12801280
}, {
1281-
key: "initialise",
1282-
value: function initialise(renderer, alpha) {}
1281+
key: "initialize",
1282+
value: function initialize(renderer, alpha) {}
12831283
}, {
12841284
key: "dispose",
12851285
value: function dispose() {
@@ -1404,8 +1404,8 @@
14041404
renderer.render(scene, camera, this.renderToScreen ? null : writeBuffer);
14051405
}
14061406
}, {
1407-
key: "initialise",
1408-
value: function initialise(renderer, alpha) {
1407+
key: "initialize",
1408+
value: function initialize(renderer, alpha) {
14091409

14101410
if (!alpha) {
14111411

@@ -1517,10 +1517,10 @@
15171517
renderer.render(scene, camera, this.renderToScreen ? null : writeBuffer);
15181518
}
15191519
}, {
1520-
key: "initialise",
1521-
value: function initialise(renderer, alpha) {
1520+
key: "initialize",
1521+
value: function initialize(renderer, alpha) {
15221522

1523-
this.blurPass.initialise(renderer, alpha);
1523+
this.blurPass.initialize(renderer, alpha);
15241524

15251525
if (!alpha) {
15261526

@@ -2107,12 +2107,12 @@
21072107
renderer.render(scene, camera, this.renderToScreen ? null : writeBuffer);
21082108
}
21092109
}, {
2110-
key: "initialise",
2111-
value: function initialise(renderer, alpha) {
2110+
key: "initialize",
2111+
value: function initialize(renderer, alpha) {
21122112

2113-
this.renderPassLight.initialise(renderer, alpha);
2114-
this.renderPassMask.initialise(renderer, alpha);
2115-
this.blurPass.initialise(renderer, alpha);
2113+
this.renderPassLight.initialize(renderer, alpha);
2114+
this.renderPassMask.initialize(renderer, alpha);
2115+
this.blurPass.initialize(renderer, alpha);
21162116

21172117
if (!alpha) {
21182118

@@ -2406,8 +2406,8 @@
24062406
renderer.render(this.scene, this.camera, this.renderTarget);
24072407
}
24082408
}, {
2409-
key: "initialise",
2410-
value: function initialise(renderer, alpha) {
2409+
key: "initialize",
2410+
value: function initialize(renderer, alpha) {
24112411

24122412
if (!alpha) {
24132413

@@ -2822,8 +2822,8 @@
28222822
renderer.render(this.scene, this.camera, this.renderToScreen ? null : writeBuffer);
28232823
}
28242824
}, {
2825-
key: "initialise",
2826-
value: function initialise(renderer) {
2825+
key: "initialize",
2826+
value: function initialize(renderer) {
28272827

28282828
this.quad.material = new three.MeshBasicMaterial({ color: 0x7fffff });
28292829
renderer.render(this.scene, this.camera, this.renderTargetPrevious);
@@ -2983,7 +2983,7 @@
29832983
var drawingBufferSize = renderer.getDrawingBufferSize();
29842984

29852985
pass.setSize(drawingBufferSize.width, drawingBufferSize.height);
2986-
pass.initialise(renderer, renderer.context.getContextAttributes().alpha);
2986+
pass.initialize(renderer, renderer.context.getContextAttributes().alpha);
29872987

29882988
if (index !== undefined) {
29892989

build/postprocessing.min.js

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postprocessing",
3-
"version": "3.1.0",
3+
"version": "4.0.0",
44
"description": "A post processing library that provides the means to implement 2D filter effects for three.js.",
55
"homepage": "https://github.com/vanruesc/postprocessing",
66
"main": "build/postprocessing.js",

public/demo/index.js

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

public/demo/index.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.

0 commit comments

Comments
 (0)