소스 검색

Added IndexBufferAttribute. Woops!

Mr.doob 10 년 전
부모
커밋
c170af7b54
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      src/core/IndexBufferAttribute.js

+ 12 - 0
src/core/IndexBufferAttribute.js

@@ -0,0 +1,12 @@
+/**
+ * @author mrdoob / http://mrdoob.com/
+ */
+
+THREE.IndexBufferAttribute = function ( array, itemSize ) {
+
+	THREE.BufferAttribute.call( this, array, itemSize );
+
+};
+
+THREE.IndexBufferAttribute.prototype = Object.create( THREE.BufferAttribute.prototype );
+THREE.IndexBufferAttribute.prototype.constructor = THREE.IndexBufferAttribute;