|
@@ -437,10 +437,29 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
// Clearing
|
|
|
|
|
|
- this.getClearColor = background.getClearColor;
|
|
|
- this.setClearColor = background.setClearColor;
|
|
|
- this.getClearAlpha = background.getClearAlpha;
|
|
|
- this.setClearAlpha = background.setClearAlpha;
|
|
|
+ this.getClearColor = function() {
|
|
|
+
|
|
|
+ return background.getClearColor();
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.setClearColor = function () {
|
|
|
+
|
|
|
+ background.setClearColor.apply( background, arguments );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.getClearAlpha = function() {
|
|
|
+
|
|
|
+ return background.getClearAlpha();
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.setClearAlpha = function() {
|
|
|
+
|
|
|
+ background.setClearAlpha.apply( background, arguments );
|
|
|
+
|
|
|
+ };
|
|
|
|
|
|
this.clear = function ( color, depth, stencil ) {
|
|
|
|