Commit 0e7dc0a8 authored by Amanda Ghassaei's avatar Amanda Ghassaei

aspect ratio

parent 29d65126
......@@ -5,7 +5,7 @@
define(['underscore', 'stlLoader', 'gikPart'], function(_, THREE, GIKPart){
var zScale = 1/8;
var zScale = 1.08/8;
var unitGeo = new THREE.BoxGeometry(0.2, 0.2, zScale);
var bridgeGeo = new THREE.BoxGeometry(0.3, 0.4, zScale);
......
......@@ -261,10 +261,12 @@ define(['three'], function(THREE){
name: "Lego Blocks"
}
},
aspectRatio: new THREE.Vector3(1,1,1),
aspectRatio: new THREE.Vector3(1,1,1.08),
materialClasses: ['mechanical'],
options: {
gikLength: 2
gikLength: 2,
scale: 2.5,
units: 'nm'
}
},
default: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment