summit/frontend/node_modules/three-stdlib/lines/Line2.js

15 lines
442 B
JavaScript

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