Преглед изворни кода

BufferGeometry: Remove THREE namespace

Mugen87 пре 7 година
родитељ
комит
391c8074ef
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/core/BufferGeometry.js

+ 1 - 1
src/core/BufferGeometry.js

@@ -345,7 +345,7 @@ Object.assign( BufferGeometry.prototype, EventDispatcher.prototype, {
 
 		}
 
-		this.addAttribute( 'position', new THREE.Float32BufferAttribute( position, 3 ) );
+		this.addAttribute( 'position', new Float32BufferAttribute( position, 3 ) );
 
 		return this;