/
fadaliastro
/
MGFI
Обзор
Документация
Войти
/
fadaliastro
/
MGFI
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
node_modules/three/src/objects/LineLoop.js
37 строк
730 B
Fa-Dali
Initial commit
28 янв 2026, 00:16
28 янв 2026, 00:16
d5a5086
Код
Авторство
О чём код?
import { Line } from './Line.js'; /** * A continuous line. This is nearly the same as {@link Line} the only difference * is that the last vertex is connected with the first vertex in order to close * the line to form a loop. * * @augments Line */ class LineLoop extends Line { /** * Constructs a new line loop. * * @param {BufferGeometry} [geometry] - The line geometry. * @param {Material|Array<Material>} [material] - The line material. */ constructor( geometry, material ) { super( geometry, material ); /** * This flag can be used for type testing. * * @type {boolean} * @readonly * @default true */ this.isLineLoop = true; this.type = 'LineLoop'; } } export { LineLoop };