You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
433 B
20 lines
433 B
6 months ago
|
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.isLine2 = true;
|
||
|
|
||
|
this.type = 'Line2';
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
export { Line2 };
|