UNPKG

lingo3d

Version:

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

9 lines 405 B
import { clone } from "three/examples/jsm/utils/SkeletonUtils"; import { skinnedMeshSet } from "../../collections/skinnedMeshSet"; export default (target, noBone, animations = target.animations) => { const result = noBone ? target.clone() : clone(target); !noBone && skinnedMeshSet.add(result); result.animations = animations; return result; }; //# sourceMappingURL=cloneSkinnedMesh.js.map