Reference · Rockets, variants, parts and the fit check
HullBoxtype
A box the path must not pass through, in metres. A point on the face is outside.
Import it
import type { HullBox } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface HullBox {
min: readonly [
number,
number,
number
];
max: readonly [
number,
number,
number
];
}
Members
| Name | Type | Description |
|---|---|---|
min | readonly [number, number, number] | |
max | readonly [number, number, number] |
Examples
import type { HullBox } from "@johnmorrisdotca/uchusen-rockets";
const hull: HullBox = { min: [-1, 0, -1], max: [1, 2, 1] };
console.log(hull.max[1]);2What it prints (run when this page was built)