UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

8 lines 291 B
import computeOnce from "./utils/computeOnce"; export const getBoneIndexMap = computeOnce((skeleton) => { const map = new WeakMap(); for (let i = 0; i < skeleton.bones.length; i++) map.set(skeleton.bones[i], i); return map; }); //# sourceMappingURL=getBoneIndexMap.js.map