UNPKG

mylingo3d

Version:

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

13 lines 554 B
import { CylinderGeometry } from "three"; import { diameterScaled, radiusScaled } from "../../engine/constants"; import Primitive from "../core/Primitive"; import cylinderShape from "../core/PhysicsObjectManager/cannon/shapes/cylinderShape"; const geometry = new CylinderGeometry(radiusScaled, radiusScaled, diameterScaled, 16); export default class Cylinder extends Primitive { static componentName = "cylinder"; _physicsShape = cylinderShape; constructor() { super(geometry); } } //# sourceMappingURL=Cylinder.js.map