|
@@ -143,7 +143,7 @@
|
|
|
|
|
|
geometry.addAttribute( 'position', vertices );
|
|
|
|
|
|
- var offsets = new THREE.InstancedBufferAttribute( new Float32Array( instances * 3 ), 3, 1, false );
|
|
|
+ var offsets = new THREE.InstancedBufferAttribute( new Float32Array( instances * 3 ), 3, 1 );
|
|
|
|
|
|
for ( var i = 0, ul = offsets.count; i < ul; i++ ) {
|
|
|
|
|
@@ -153,7 +153,7 @@
|
|
|
|
|
|
geometry.addAttribute( 'offset', offsets );
|
|
|
|
|
|
- var colors = new THREE.InstancedBufferAttribute( new Float32Array( instances * 4 ), 4, 1, false );
|
|
|
+ var colors = new THREE.InstancedBufferAttribute( new Float32Array( instances * 4 ), 4, 1 );
|
|
|
|
|
|
for ( var i = 0, ul = colors.count; i < ul; i++ ) {
|
|
|
|
|
@@ -165,7 +165,7 @@
|
|
|
|
|
|
var vector = new THREE.Vector4();
|
|
|
|
|
|
- var orientationsStart = new THREE.InstancedBufferAttribute( new Float32Array( instances * 4 ), 4, 1, false );
|
|
|
+ var orientationsStart = new THREE.InstancedBufferAttribute( new Float32Array( instances * 4 ), 4, 1 );
|
|
|
|
|
|
for ( var i = 0, ul = orientationsStart.count; i < ul; i++ ) {
|
|
|
|
|
@@ -178,7 +178,7 @@
|
|
|
|
|
|
geometry.addAttribute( 'orientationStart', orientationsStart );
|
|
|
|
|
|
- var orientationsEnd = new THREE.InstancedBufferAttribute( new Float32Array( instances * 4 ), 4, 1, false );
|
|
|
+ var orientationsEnd = new THREE.InstancedBufferAttribute( new Float32Array( instances * 4 ), 4, 1 );
|
|
|
|
|
|
for ( var i = 0, ul = orientationsEnd.count; i < ul; i++ ) {
|
|
|
|