Skip to content

Commit

Permalink
Examples: Improved webgl_loader_ldraw camera.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jul 16, 2021
1 parent 2f09982 commit 00d6584
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified examples/screenshots/webgl_loader_ldraw.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/webgl_loader_ldraw.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
if ( resetCamera ) {

controls.target0.copy( bbox.getCenter( new THREE.Vector3() ) );
controls.position0.set( - 2.3, 2, 2 ).multiplyScalar( radius ).add( controls.target0 );
controls.position0.set( - 2.3, 1, 2 ).multiplyScalar( radius ).add( controls.target0 );
controls.reset();

}
Expand Down

0 comments on commit 00d6584

Please sign in to comment.