|
@@ -2462,16 +2462,11 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
}() );
|
|
|
|
|
|
- this.setTexture3D = ( function () {
|
|
|
+ this.setTexture3D = function ( texture, slot ) {
|
|
|
|
|
|
- // backwards compatibility: peel texture.texture
|
|
|
- return function setTexture3D( texture, slot ) {
|
|
|
-
|
|
|
- textures.setTexture3D( texture, slot );
|
|
|
-
|
|
|
- };
|
|
|
+ textures.setTexture3D( texture, slot );
|
|
|
|
|
|
- }() );
|
|
|
+ };
|
|
|
|
|
|
this.setTexture = ( function () {
|
|
|
|