Log inGet started
Package

Interior.module

Newest version

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_W 0.82, DOOR_H 2.04, LINING 0.025, CASING 0.075.