Sfoglia il codice sorgente

InstancedBufferGeometry: Removed redundant clone() code.

Mr.doob 2 anni fa
parent
commit
b58ecfd170
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      src/core/InstancedBufferGeometry.js

+ 0 - 6
src/core/InstancedBufferGeometry.js

@@ -23,12 +23,6 @@ class InstancedBufferGeometry extends BufferGeometry {
 
 	}
 
-	clone() {
-
-		return new this.constructor().copy( this );
-
-	}
-
 	toJSON() {
 
 		const data = super.toJSON();