@@ -178,7 +178,7 @@
room.position.y = size / 2 - 30;
// top
- mesh = new THREE.Mesh( geometry, material );
+ var mesh = new THREE.Mesh( geometry, material );
mesh.rotation.x = Math.PI/2;
mesh.position.y = size / 2;
room.add( mesh );
@@ -291,4 +291,4 @@
</script>
</body>
-</html>
+</html>