|
@@ -76,7 +76,7 @@
|
|
|
|
|
|
} );
|
|
} );
|
|
control.attach( lightOrigin );
|
|
control.attach( lightOrigin );
|
|
- scene.add( control.getGizmo() );
|
|
|
|
|
|
+ scene.add( control.getHelper() );
|
|
|
|
|
|
// create 8 directional lights to speed up the convergence
|
|
// create 8 directional lights to speed up the convergence
|
|
for ( let l = 0; l < lightCount; l ++ ) {
|
|
for ( let l = 0; l < lightCount; l ++ ) {
|
|
@@ -142,7 +142,7 @@
|
|
|
|
|
|
} );
|
|
} );
|
|
control2.attach( object );
|
|
control2.attach( object );
|
|
- scene.add( control2.getGizmo() );
|
|
|
|
|
|
+ scene.add( control2.getHelper() );
|
|
const lightTarget = new THREE.Group();
|
|
const lightTarget = new THREE.Group();
|
|
lightTarget.position.set( 0, 20, 0 );
|
|
lightTarget.position.set( 0, 20, 0 );
|
|
for ( let l = 0; l < dirLights.length; l ++ ) {
|
|
for ( let l = 0; l < dirLights.length; l ++ ) {
|