UNPKG

lingo3d

Version:

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

23 lines 638 B
import { PlaneGeometry } from "three"; import { planeDefaults, planeSchema } from "../../interface/IPlane"; import Primitive from "../core/Primitive"; export const planeGeometry = new PlaneGeometry(1, 1, 1, 1); class Plane extends Primitive { static componentName = "plane"; static defaults = planeDefaults; static schema = planeSchema; constructor() { super(planeGeometry); this.object3d.scale.z = Number.EPSILON; } get depth() { return 0; } set depth(_) { } get scaleZ() { return 0; } set scaleZ(_) { } } export default Plane; //# sourceMappingURL=Plane.js.map