fireball/lib/objects/LineLoop.js
2018-12-25 17:29:22 +03:30

25 lines
349 B
JavaScript

import { Line } from './Line.js';
/**
* @author mgreter / http://github.com/mgreter
*/
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 };