Tweak: fireplace mantel and rat hole size
This commit is contained in:
parent
3b1421e4e7
commit
c962f74067
@ -69,7 +69,7 @@ export function createFireplace(x, z, rotY) {
|
|||||||
|
|
||||||
// Lintel (Top Frame)
|
// Lintel (Top Frame)
|
||||||
const lintelWidth = openingWidth + 2 * frameThickness;
|
const lintelWidth = openingWidth + 2 * frameThickness;
|
||||||
const lintelGeo = new THREE.BoxGeometry(lintelWidth, frameThickness, frameDepth);
|
const lintelGeo = new THREE.BoxGeometry(lintelWidth, frameThickness, frameDepth+0.1);
|
||||||
const lintel = new THREE.Mesh(lintelGeo, stoneMaterial);
|
const lintel = new THREE.Mesh(lintelGeo, stoneMaterial);
|
||||||
lintel.position.set(0, hearthHeight + openingHeight + frameThickness / 2, bodyDepth / 2 + frameDepth / 2);
|
lintel.position.set(0, hearthHeight + openingHeight + frameThickness / 2, bodyDepth / 2 + frameDepth / 2);
|
||||||
lintel.castShadow = true;
|
lintel.castShadow = true;
|
||||||
|
|||||||
@ -58,10 +58,10 @@ export class Rat {
|
|||||||
|
|
||||||
export function createRats(x, y, z, rotY) {
|
export function createRats(x, y, z, rotY) {
|
||||||
// --- 9.5 Rat Hole ---
|
// --- 9.5 Rat Hole ---
|
||||||
const holeGeo = new THREE.CircleGeometry(0.15, 16);
|
const holeGeo = new THREE.CircleGeometry(0.05, 16);
|
||||||
const holeMat = new THREE.MeshBasicMaterial({ color: 0x000000 });
|
const holeMat = new THREE.MeshBasicMaterial({ color: 0x000000 });
|
||||||
const ratHole = new THREE.Mesh(holeGeo, holeMat);
|
const ratHole = new THREE.Mesh(holeGeo, holeMat);
|
||||||
ratHole.position.set(x, y + 0.1, z);
|
ratHole.position.set(x, y + 0.02, z);
|
||||||
ratHole.rotation.y = rotY;
|
ratHole.rotation.y = rotY;
|
||||||
state.scene.add(ratHole);
|
state.scene.add(ratHole);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user