UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

15 lines (14 loc) 442 B
import { LineSegments2 } from "./LineSegments2.js"; import { LineGeometry } from "./LineGeometry.js"; import { LineMaterial } from "./LineMaterial.js"; class Line2 extends LineSegments2 { constructor(geometry = new LineGeometry(), material = new LineMaterial({ color: Math.random() * 16777215 })) { super(geometry, material); this.isLine2 = true; this.type = "Line2"; } } export { Line2 }; //# sourceMappingURL=Line2.js.map