Reference · Rockets, variants, parts and the fit check
workLampfunction
An amber work lamp, for a construction drone and a berth.
Import it
import { workLamp } from "@johnmorrisdotca/uchusen-rockets";
Definition
function workLamp(at: Vec3, size?: number): Piece[]
Parameters
| Name | Type | Description |
|---|---|---|
at | Vec3 | Where it stands, in metres. |
size (optional) | number | Its radius in metres. Left out: 0.08. |
Returns
Piece[]
The one piece.
Examples
import { workLamp } from "@johnmorrisdotca/uchusen-rockets";
console.log(workLamp([0.4, 0.2, 0.5])[0].kind);latheWhat it prints (run when this page was built)