Reference · Surface maze rules and geometry
solidCutOffunction
The cut of a solid at a size.
Import it
import { solidCutOf } from "@johnmorrisdotca/meikyuu/3d";
Also exported from: @johnmorrisdotca/meikyuu/3d/levels, @johnmorrisdotca/meikyuu/3d/levels/dice, @johnmorrisdotca/meikyuu/3d/levels/shapes, @johnmorrisdotca/meikyuu/3d/levels/all
Definition
function solidCutOf(kind: SolidKind, size: SolidSize): number
Parameters
| Name | Type | Description |
|---|---|---|
kind | SolidKind | The native puzzle family or surface shape specified by this signature. |
size | "small" | "medium" | "large" | "huge" | "colossal" | The named level size, or numeric tall width specified by this signature. |
Returns
number
The cut of a solid at a size.
Examples
import { solidCutOf } from "@johnmorrisdotca/meikyuu/3d";
console.log(solidCutOf("cube","small"));4What it prints (run when this page was built)