Reference · Cube engine and views
CubeAxistype
An axis of the cube: 0 is x (to the right), 1 is y (up) and 2 is z (towards the viewer).
Import it
import type { CubeAxis } from "@johnmorrisdotca/kyuubu";
Definition
type CubeAxis = 0 | 1 | 2;
Examples
import type { CubeAxis } from "@johnmorrisdotca/kyuubu";
const value: CubeAxis = 0;
console.log(value);0What it prints (run when this page was built)