UNPKG

lingo3d

Version:

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

14 lines 643 B
import { multipleSelectionTargets } from "../collections/multipleSelectionTargets"; import { multipleSelectionGroupPtr } from "../pointers/multipleSelectionGroupPtr"; import { selectionTargetPtr } from "../pointers/selectionTargetPtr"; import throttleFrame from "./utils/throttleFrame"; export default throttleFrame(() => { const targets = []; selectionTargetPtr[0] && selectionTargetPtr[0] !== multipleSelectionGroupPtr[0] && targets.push(selectionTargetPtr[0]); for (const target of multipleSelectionTargets) targets.push(target); return targets; }); //# sourceMappingURL=getAllSelectionTargets.js.map