function rockMesh
rockMesh.ts:87
One rock shape.
Memoized because it is a pure function of the variant and the renderer wants the same buffer object every time — a fresh array per call would be a fresh GPU upload per call, which is the whole reason the shapes are shared.
- variantnumber
- Undocumented
ReturnsRockMesh