Explorar o código

Added IndexBufferAttribute. Woops!

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
c170af7b54
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  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;