|
@@ -12,7 +12,7 @@ import { Color } from '../../math/Color.js';
|
|
import { Mesh } from '../../objects/Mesh.js';
|
|
import { Mesh } from '../../objects/Mesh.js';
|
|
import { ShaderLib } from '../shaders/ShaderLib.js';
|
|
import { ShaderLib } from '../shaders/ShaderLib.js';
|
|
|
|
|
|
-function WebGLBackground( renderer, state, geometries, premultipliedAlpha ) {
|
|
|
|
|
|
+function WebGLBackground( renderer, state, objects, premultipliedAlpha ) {
|
|
|
|
|
|
var clearColor = new Color( 0x000000 );
|
|
var clearColor = new Color( 0x000000 );
|
|
var clearAlpha = 0;
|
|
var clearAlpha = 0;
|
|
@@ -67,7 +67,7 @@ function WebGLBackground( renderer, state, geometries, premultipliedAlpha ) {
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
- geometries.update( boxMesh.geometry );
|
|
|
|
|
|
+ objects.update( boxMesh );
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -86,7 +86,7 @@ function WebGLBackground( renderer, state, geometries, premultipliedAlpha ) {
|
|
new MeshBasicMaterial( { depthTest: false, depthWrite: false, fog: false } )
|
|
new MeshBasicMaterial( { depthTest: false, depthWrite: false, fog: false } )
|
|
);
|
|
);
|
|
|
|
|
|
- geometries.update( planeMesh.geometry );
|
|
|
|
|
|
+ objects.update( planeMesh );
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|