UNPKG

@lume/three-instanced-mesh

Version:

Scene graph level abstraction for three.js InstancedBufferGeometry

12 lines (7 loc) 244 B
import { monkeyPatch as _monkeyPatch } from "./monkey-patch/index.js" export function monkeyPatch(THREE) { if (/InstancedMesh/.test(THREE.REVISION)) return THREE; _monkeyPatch(THREE); THREE.REVISION += "_InstancedMesh"; return THREE; }