import { Vec3 } from '@lib/model' ; import { NEWLINE } from '@lib/regex' ; export const parseLines = ( input ) : Vec3 [ ] => { return input . split ( NEWLINE ) . filter ( ( line ) => ! ! line ) . map ( ( line ) => new Vec3 ( line ) ) ; } ;