mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-13 20:02:41 +01:00
make camera a bit angled
This commit is contained in:
parent
062a8a28df
commit
9e6ea50b5c
1 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ TCAD.Viewer = function(bus) {
|
|||
var camera = new THREE.PerspectiveCamera( 500*75, aspect(), 0.1, 10000 );
|
||||
this.camera = camera;
|
||||
camera.position.z = 1000;
|
||||
|
||||
camera.position.x = -1000;
|
||||
camera.position.y = 300;
|
||||
var light = new THREE.PointLight( 0xffffff);
|
||||
light.position.set( 10, 10, 10 );
|
||||
scene.add(light);
|
||||
|
|
|
|||
Loading…
Reference in a new issue