mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 21:05:22 +01:00
make initial object bigger
This commit is contained in:
parent
7ebfcd008e
commit
2515b31ac7
1 changed files with 3 additions and 3 deletions
|
|
@ -15,8 +15,8 @@ TCAD.Viewer = function() {
|
|||
}
|
||||
|
||||
var scene = new THREE.Scene();
|
||||
var camera = new THREE.PerspectiveCamera( 75, aspect(), 0.1, 1000 );
|
||||
camera.position.z = 5;
|
||||
var camera = new THREE.PerspectiveCamera( 500*75, aspect(), 0.1, 10000 );
|
||||
camera.position.z = 1000;
|
||||
|
||||
var light = new THREE.PointLight( 0xffffff);
|
||||
light.position.set( 10, 10, 10 );
|
||||
|
|
@ -45,7 +45,7 @@ TCAD.Viewer = function() {
|
|||
// var geometry = new THREE.BoxGeometry(1,1,1);
|
||||
// var geometry = new TCAD.Solid([TCAD.utils.createSquare(1)]);
|
||||
|
||||
var box = TCAD.utils.createSolid(TCAD.utils.createBox(1));
|
||||
var box = TCAD.utils.createSolid(TCAD.utils.createBox(500));
|
||||
scene.add( box );
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue