|
@@ -233,13 +233,13 @@
|
|
|
arrowGeometry.merge( mesh.geometry, mesh.matrix );
|
|
|
|
|
|
var lineXGeometry = new THREE.BufferGeometry();
|
|
|
- lineXGeometry.addAttribute( 'position', new THREE.Float32Attribute( [ 0, 0, 0, 1, 0, 0 ], 3 ) );
|
|
|
+ lineXGeometry.addAttribute( 'position', new THREE.Float32BufferAttribute( [ 0, 0, 0, 1, 0, 0 ], 3 ) );
|
|
|
|
|
|
var lineYGeometry = new THREE.BufferGeometry();
|
|
|
- lineYGeometry.addAttribute( 'position', new THREE.Float32Attribute( [ 0, 0, 0, 0, 1, 0 ], 3 ) );
|
|
|
+ lineYGeometry.addAttribute( 'position', new THREE.Float32BufferAttribute( [ 0, 0, 0, 0, 1, 0 ], 3 ) );
|
|
|
|
|
|
var lineZGeometry = new THREE.BufferGeometry();
|
|
|
- lineZGeometry.addAttribute( 'position', new THREE.Float32Attribute( [ 0, 0, 0, 0, 0, 1 ], 3 ) );
|
|
|
+ lineZGeometry.addAttribute( 'position', new THREE.Float32BufferAttribute( [ 0, 0, 0, 0, 0, 1 ], 3 ) );
|
|
|
|
|
|
this.handleGizmos = {
|
|
|
|
|
@@ -372,7 +372,7 @@
|
|
|
|
|
|
}
|
|
|
|
|
|
- geometry.addAttribute( 'position', new THREE.Float32Attribute( vertices, 3 ) );
|
|
|
+ geometry.addAttribute( 'position', new THREE.Float32BufferAttribute( vertices, 3 ) );
|
|
|
return geometry;
|
|
|
|
|
|
};
|
|
@@ -516,13 +516,13 @@
|
|
|
arrowGeometry.merge( mesh.geometry, mesh.matrix );
|
|
|
|
|
|
var lineXGeometry = new THREE.BufferGeometry();
|
|
|
- lineXGeometry.addAttribute( 'position', new THREE.Float32Attribute( [ 0, 0, 0, 1, 0, 0 ], 3 ) );
|
|
|
+ lineXGeometry.addAttribute( 'position', new THREE.Float32BufferAttribute( [ 0, 0, 0, 1, 0, 0 ], 3 ) );
|
|
|
|
|
|
var lineYGeometry = new THREE.BufferGeometry();
|
|
|
- lineYGeometry.addAttribute( 'position', new THREE.Float32Attribute( [ 0, 0, 0, 0, 1, 0 ], 3 ) );
|
|
|
+ lineYGeometry.addAttribute( 'position', new THREE.Float32BufferAttribute( [ 0, 0, 0, 0, 1, 0 ], 3 ) );
|
|
|
|
|
|
var lineZGeometry = new THREE.BufferGeometry();
|
|
|
- lineZGeometry.addAttribute( 'position', new THREE.Float32Attribute( [ 0, 0, 0, 0, 0, 1 ], 3 ) );
|
|
|
+ lineZGeometry.addAttribute( 'position', new THREE.Float32BufferAttribute( [ 0, 0, 0, 0, 0, 1 ], 3 ) );
|
|
|
|
|
|
this.handleGizmos = {
|
|
|
|