mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-13 23:16:07 +10:00
16 lines
322 B
JavaScript
16 lines
322 B
JavaScript
/**
|
|
* @author mr.doob / http://mrdoob.com/
|
|
*/
|
|
|
|
THREE.Line = function ( geometry, material ) {
|
|
|
|
THREE.Object3D.call( this );
|
|
|
|
this.geometry = geometry;
|
|
this.material = material instanceof Array ? material : [ material ];
|
|
|
|
};
|
|
|
|
THREE.Line.prototype = new THREE.Object3D();
|
|
THREE.Line.prototype.constructor = THREE.Line;
|