mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
8 lines • 326 B
JavaScript
import getActualScale from "../../../../utils/getActualScale";
import loadCannon from "../loadCannon";
export default async function () {
const { Sphere } = await loadCannon();
const shape = new Sphere(getActualScale(this).x * 0.5);
this.cannonBody.addShape(shape);
}
//# sourceMappingURL=sphereShape.js.map