UNPKG

@realsee/dnalogel

Version:
10 lines (9 loc) 276 B
import { Line as o } from "@realsee/five/line"; import { Vector3 as m } from "three"; function f(t, n, r = new m(1, 1, 1), i = !1) { const e = new o(t, n); return e.setMaterial({ dashed: i, color: r, linewidth: 1 }), e.remove(e.points), e; } export { f as createLine };