diff --git a/data.json b/data.json index c600a7c..16e84e0 100644 --- a/data.json +++ b/data.json @@ -26,6 +26,15 @@ "h" : 4.6736, "d" : 3.048, "color" : "green" + }, + { + "name" : "Stairway", + "x" : 0, + "y" : 7.7216, + "w" : 2.9972, + "h" : 3.149, + "d" : 6.096, + "color" : "blue" } ] } diff --git a/script.js b/script.js index f0a9411..bbb492a 100644 --- a/script.js +++ b/script.js @@ -12,7 +12,7 @@ light.position.z = 100 scene.add(light) // back the camera up -camera.position.z = 15; +camera.position.z = 25 // transform the home to be a reasonable orientation home.rotation.x = Math.PI * 2/3