|
@@ -278,13 +278,6 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
var _supportsVertexTextures = _maxVertexTextures > 0;
|
|
|
var _supportsBoneTextures = _supportsVertexTextures && extensions.get( 'OES_texture_float' );
|
|
|
- var _supportsInstancedArrays = extensions.get( 'ANGLE_instanced_arrays' );
|
|
|
-
|
|
|
- //
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- //
|
|
|
|
|
|
var _maxPrecision = state.getMaxPrecision( _precision );
|
|
|
|
|
@@ -320,18 +313,6 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
};
|
|
|
|
|
|
- this.supportsVertexTextures = function () {
|
|
|
-
|
|
|
- return _supportsVertexTextures;
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
- this.supportsInstancedArrays = function () {
|
|
|
-
|
|
|
- return _supportsInstancedArrays;
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
this.getMaxAnisotropy = ( function () {
|
|
|
|
|
|
var value;
|
|
@@ -3647,6 +3628,21 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
};
|
|
|
|
|
|
+ this.supportsVertexTextures = function () {
|
|
|
+
|
|
|
+ return _supportsVertexTextures;
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.supportsInstancedArrays = function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .supportsInstancedArrays() is now .extensions.get( \'ANGLE_instanced_arrays\' ).' );
|
|
|
+ return extensions.get( 'ANGLE_instanced_arrays' );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ //
|
|
|
+
|
|
|
this.initMaterial = function () {
|
|
|
|
|
|
console.warn( 'THREE.WebGLRenderer: .initMaterial() has been removed.' );
|