three
Version:
JavaScript 3D library
21 lines (10 loc) • 293 B
JavaScript
import { Line } from './Line.js';
function LineLoop( geometry, material ) {
Line.call( this, geometry, material );
this.type = 'LineLoop';
}
LineLoop.prototype = Object.assign( Object.create( Line.prototype ), {
constructor: LineLoop,
isLineLoop: true,
} );
export { LineLoop };