Skip to content
Snippets Groups Projects
Commit ab9187c1 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

nicer looking linker

parent 00f618bb
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,13 @@ define(['underscore', 'stlLoader', 'gikPart'], function(_, THREE, GIKPart){
var unitGeo = new THREE.BoxGeometry(0.2, 0.2, zScale);
var bridgeGeo = new THREE.BoxGeometry(0.3, 0.4, zScale);
console.log(bridgeGeo);
bridgeGeo.vertices[4].y = 0;
bridgeGeo.vertices[5].y = 0;
bridgeGeo.vertices[2].y = -0.1;
bridgeGeo.vertices[3].y = -0.1;
bridgeGeo.vertices[0].y = 0.1;
bridgeGeo.vertices[1].y = 0.1;
var bridgeMaterial = new THREE.MeshLambertMaterial({color:'#000000'});
var nuclMaterials = {
......
......@@ -373,15 +373,15 @@ define(['three'], function(THREE){
properties:{}
},
tension:{
name: "Tension",
name: "In Tension",
color: "#aaa",
altColor: "#70eee8",
altColor: "#f0c437",
properties:{}
},
compression: {
name: "Compression",
name: "In Compression",
color: "#aaa",
altColor: "#f0c437",
altColor: "#70eee8",
properties:{}
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment