Files
apt-nl-map/static/Magic4/js/three.js-dev/examples/jsm/lines/Line2.js
2024-12-04 10:21:04 +08:00

20 lines
442 B
JavaScript

import { LineSegments2 } from '../lines/LineSegments2.js';
import { LineGeometry } from '../lines/LineGeometry.js';
import { LineMaterial } from '../lines/LineMaterial.js';
class Line2 extends LineSegments2 {
constructor( geometry = new LineGeometry(), material = new LineMaterial( { color: Math.random() * 0xffffff } ) ) {
super( geometry, material );
this.type = 'Line2';
}
}
Line2.prototype.isLine2 = true;
export { Line2 };