Files
caravels-community-simulation/web-app/node_modules/three/examples/jsm/lines/webgpu/Line2.js
rafaeldpsilva adbbf6bf50 first commit
2025-12-10 12:32:12 +00:00

21 lines
412 B
JavaScript

import { LineSegments2 } from './LineSegments2.js';
import { LineGeometry } from '../LineGeometry.js';
import { Line2NodeMaterial } from 'three';
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 };