mirror of
				https://github.com/jiawanlong/Cesium-Examples.git
				synced 2025-11-04 09:14:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			433 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			433 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.isLine2 = true;
 | 
						|
 | 
						|
		this.type = 'Line2';
 | 
						|
 | 
						|
	}
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
export { Line2 };
 |