Tweak: remove extra bookshelf and move picture frame
This commit is contained in:
parent
caad8a971b
commit
a71fd38e9e
@ -144,14 +144,14 @@ export function createSceneObjects() {
|
|||||||
|
|
||||||
createRats(state.roomSize/2 - 0.01, 0, 0.37, -Math.PI / 2);
|
createRats(state.roomSize/2 - 0.01, 0, 0.37, -Math.PI / 2);
|
||||||
|
|
||||||
createBookshelf(-state.roomSize/2 + 0.2, state.roomSize/2*0.1, Math.PI/2, 0);
|
//createBookshelf(-state.roomSize/2 + 0.2, state.roomSize/2*0.1, Math.PI/2, 0);
|
||||||
createBookshelf(-state.roomSize/2 + 0.2, state.roomSize/2*0.7, Math.PI/2, 0);
|
createBookshelf(-state.roomSize/2 + 0.2, state.roomSize/2*0.7, Math.PI/2, 0);
|
||||||
createBookshelf(-state.roomSize/2 * 0.7, -state.roomSize/2+0.3, 0, 1);
|
createBookshelf(-state.roomSize/2 * 0.7, -state.roomSize/2+0.3, 0, 1);
|
||||||
|
|
||||||
// next to bookshelf
|
// next to bookshelf
|
||||||
const pictureFrame = new PictureFrame(state.scene, {
|
const pictureFrame = new PictureFrame(state.scene, {
|
||||||
position: new THREE.Vector3(-state.roomSize/2, 1.7, -state.roomSize/2 + 0.7),
|
position: new THREE.Vector3(-state.roomSize/2, 1.7, -state.roomSize/2 + 0.8),
|
||||||
width: 0.7,
|
width: 0.75,
|
||||||
height: 1,
|
height: 1,
|
||||||
imageUrls: [painting1, painting2],
|
imageUrls: [painting1, painting2],
|
||||||
rotationY: Math.PI / 2
|
rotationY: Math.PI / 2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user