File size: 420 Bytes
a28eca3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { Line2NodeMaterial } from 'three/webgpu';

import { LineSegments2 } from './LineSegments2.js';
import { LineGeometry } from '../LineGeometry.js';


class Line2 extends LineSegments2 {

	constructor( geometry = new LineGeometry(), material = new Line2NodeMaterial( { color: Math.random() * 0xffffff } ) ) {

		super( geometry, material );

		this.isLine2 = true;

		this.type = 'Line2';

	}

}

export { Line2 };