mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-20 03:50:07 +00:00
larry babby and threejs for glsl
This commit is contained in:
19
webGl/my-threejs-test/node_modules/three/examples/jsm/lines/Line2.js
generated
vendored
Normal file
19
webGl/my-threejs-test/node_modules/three/examples/jsm/lines/Line2.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user