UNPKG

lingo3d

Version:

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

11 lines 622 B
import { onTransformEdit } from "../../events/onTransformEdit"; import { configJointSystemPtr } from "../../pointers/configJointSystemPtr"; import eventSimpleSystemWithData from "../utils/eventSimpleSystemWithData"; export const [addJointTargetTransformEditSystem, deleteJointTargetTransformSystem] = eventSimpleSystemWithData((self, data, { target, phase }) => { phase === "end" && (target === self || target === data.fromManager || target === data.toManager) && configJointSystemPtr[0].add(self); }, onTransformEdit); //# sourceMappingURL=jointTargetTransformEditSystem.js.map