Commit 021f9bad authored by Amanda Ghassaei's avatar Amanda Ghassaei

new material types

parent a86ad777
......@@ -262,7 +262,7 @@ define(['three'], function(THREE){
}
},
aspectRatio: new THREE.Vector3(1,1,1.08),
materialClasses: ['mechanical'],
materialClasses: ['dna'],
options: {
gikLength: 2,
scale: 2.5,
......@@ -349,10 +349,31 @@ define(['three'], function(THREE){
allMaterialClasses:{
mechanical: "Structural",
electronic: "Electronic"
electronic: "Electronic",
dna: "DNA"
},
allMaterials:{
dna:{
noForces:{
name: "No Internal Forces",
color: "#aaa",
altColor: "#666",
properties:{}
},
tension:{
name: "Tension",
color: "#aaa",
altColor: "#666",
properties:{}
},
compression: {
name: "Compression",
color: "#aaa",
altColor: "#8391AC",
properties:{}
}
},
electronic:{
brass:{
name: "Brass",
......
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