Geometry · const

RIBBON_STEP_M

Spacing of the cross-sections a ribbon's mesh is built from, metres.

Explained in Hello world, Meshes and geometry.

const RIBBON_STEP_M = 2
import { RIBBON_STEP_M } from '@driftengine/core';

In depth

Exported because it is not only the builder's business: RibbonSurface has to know it to agree with the geometry at a hole's edge, where the mesh deliberately keeps the bordering section. A copy of this number in the physics module is a copy that drifts.