Reference · Build a mesh and a drawing
HEAVY_PIECESconstant
A part with more pieces than this is not meshed until its triangles are asked for, and the mesh is not kept: a fleet ship's parts hold hundreds of thousands of triangles, and keeping them all as arrays of numbers took a gigabyte.
Import it
import { HEAVY_PIECES } from "@johnmorrisdotca/uchusen-rockets/build";
Definition
const HEAVY_PIECES: 2000 = 2000
Examples
import { HEAVY_PIECES } from "@johnmorrisdotca/uchusen-rockets/build";
console.log(HEAVY_PIECES);2000What it prints (run when this page was built)