Procházet zdrojové kódy

Added IndexBufferAttribute. Woops!

Mr.doob před 10 roky
rodič
revize
c170af7b54
1 změnil soubory, kde provedl 12 přidání a 0 odebrání
  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;