Dies ist das Repository meines kleinen Portfolios.
Im Hintergrund läuft eine Planetensimulation, geschrieben in JavaScript und Three.js.
Die zu sehenden Texturen stammen von:
https://www.solarsystemscope.com/textures/
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.
24 lines
441 B
24 lines
441 B
import { |
|
WireframeGeometry |
|
} from 'three'; |
|
import { LineSegmentsGeometry } from '../lines/LineSegmentsGeometry.js'; |
|
|
|
class WireframeGeometry2 extends LineSegmentsGeometry { |
|
|
|
constructor( geometry ) { |
|
|
|
super(); |
|
|
|
this.type = 'WireframeGeometry2'; |
|
|
|
this.fromWireframeGeometry( new WireframeGeometry( geometry ) ); |
|
|
|
// set colors, maybe |
|
|
|
} |
|
|
|
} |
|
|
|
WireframeGeometry2.prototype.isWireframeGeometry2 = true; |
|
|
|
export { WireframeGeometry2 };
|
|
|