import { FACE } from "../../utils/math.ts"; import type { BlockShape, BlockCollisionHint, BlockShapeID, FaceDefinition } from "../BlockShape.ts"; export type SlabType = "top" | "bottom"; /** * Half-height slab block. * "bottom" slab occupies y=[0, 0.5]; "top" slab occupies y=[0.5, 1]. * * Occlusion: the full face (top or bottom, depending on type) is solid so * the adjacent block's opposite face can be culled. The half-height sides * do NOT occlude their neighbours — a neighbour must always emit its own face. */ export declare class Slab implements BlockShape { #private; readonly id: BlockShapeID; readonly collisionHint: BlockCollisionHint; readonly faces: readonly FaceDefinition[]; constructor(type?: SlabType, id?: BlockShapeID); occludes(face: FACE): boolean; } //# sourceMappingURL=Slab.d.ts.map