Interior.module
README.md
Interior
Architecture helpers shared by room.RoomShell and house.ApartmentShell: called from a sceneModule builder (inside K.build), never from execute.
plankFloor(P, parent, x0, x1, z0, z1, seed)— oak planks over a rectangle, top at y = 0.tileFloor(parent, x0, x1, z0, z1, size, seed)— porcelain tiles on a grout bed, top at y = 0.wall(P, parent, spec)— a straight wall in its own frame (length along local x, thickness across z) with doorways and windows cut in; colliders are split round each opening so a doorway is walkable.doorway(P, g, o, t, faceA, faceB)— jamb linings, stop beads, threshold and casings on either face.window(P, g, o, t, inside)— frame, mullion, transom, glass, sill, apron and casing on the room side.roomTrim(P, parent, x0, x1, z0, z1, h, gaps)— baseboard (broken at doorway centres) and crown round a room's inner rectangle.- Constants:
DOOR_W0.82,DOOR_H2.04,LINING0.025,CASING0.075.