lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
13 lines • 403 B
JavaScript
import { forceGet } from "@lincode/utils";
import { Sphere } from "../..";
const sphereMap = new Map();
export default (name, pt, properties) => {
const sphere = forceGet(sphereMap, name, () => {
const sphere = Object.assign(new Sphere(), properties);
sphere.$ghost();
return sphere;
});
sphere.placeAt(pt);
return sphere;
};
//# sourceMappingURL=visualize.js.map