fireball/lib/objects/LineLoop.js

25 lines
349 B
JavaScript
Raw Normal View History

2018-12-25 13:59:22 +00:00
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 };