| 1234567891011121314151617181920 |
- /**
- * @author benaadams / https://twitter.com/ben_a_adams
- */
- THREE.InstancedInterleavedBuffer = function ( array, stride, dynamic, meshPerAttribute ) {
- THREE.InterleavedBuffer.call( this, array, stride, dynamic );
- this.meshPerAttribute = meshPerAttribute || 1;
- };
- THREE.InstancedInterleavedBuffer.prototype = Object.create( THREE.InterleavedBuffer.prototype );
- THREE.InstancedInterleavedBuffer.prototype.constructor = THREE.InstancedInterleavedBuffer;
- THREE.InstancedInterleavedBuffer.prototype.clone = function () {
- return new THREE.InstancedInterleavedBuffer( new this.array.constructor( this.array ), this.stride, this.dynamic, this.meshPerAttribute );
-
- };
|