import type { BlockShape, BlockCollisionHint, BlockShapeID, FaceDefinition } from "../BlockShape.ts"; import { FACE } from "../../utils/math.ts"; /** * Ramp (slope) block: rises from y=0 at z=0 to y=1 at z=1. * * Faces: * - Bottom (NegY): full flat base quad * - Back (PosZ, z=1): full-height quad wall * - Left (NegX, x=0): right triangle * - Right (PosX, x=1): right triangle * - Slope: diagonal quad, normal [0, 1/√2, -1/√2] (up + toward -Z) * * Occlusion: only NegY and PosZ are fully covered. * Non-axis-aligned faces (the slope) use PosY as the culling direction — * the slope is hidden if a solid block sits directly above it. */ export declare class Ramp implements BlockShape { readonly id: BlockShapeID; readonly collisionHint: BlockCollisionHint; constructor(id?: BlockShapeID); readonly faces: readonly FaceDefinition[]; occludes(face: FACE): boolean; } //# sourceMappingURL=Ramp.d.ts.map