UNPKG

mylingo3d

Version:

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

10 lines (7 loc) 318 B
import store, { push, pull } from "@lincode/reactivity" import { PerspectiveCamera } from "three" export const [setCameraList, getCameraList] = store<Array<PerspectiveCamera>>( [] ) export const pushCameraList = push(setCameraList, getCameraList) export const pullCameraList = pull(setCameraList, getCameraList)