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

new material types

parent a86ad777
...@@ -262,7 +262,7 @@ define(['three'], function(THREE){ ...@@ -262,7 +262,7 @@ define(['three'], function(THREE){
} }
}, },
aspectRatio: new THREE.Vector3(1,1,1.08), aspectRatio: new THREE.Vector3(1,1,1.08),
materialClasses: ['mechanical'], materialClasses: ['dna'],
options: { options: {
gikLength: 2, gikLength: 2,
scale: 2.5, scale: 2.5,
...@@ -349,10 +349,31 @@ define(['three'], function(THREE){ ...@@ -349,10 +349,31 @@ define(['three'], function(THREE){
allMaterialClasses:{ allMaterialClasses:{
mechanical: "Structural", mechanical: "Structural",
electronic: "Electronic" electronic: "Electronic",
dna: "DNA"
}, },
allMaterials:{ 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:{ electronic:{
brass:{ brass:{
name: "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