dup connect-opposite-edges ;
: parse-vertex ( line -- position )
- words first3 [ string>number >float ] tri@ 0.0 double-4-boa ;
+ split-words first3 [ string>number >float ] tri@ 0.0 double-4-boa ;
: read-vertex ( line vertices -- )
[ parse-vertex ] dip push ;
dup 0 >= [ nip 1 - ] [ [ length ] dip + ] if ;
: parse-face ( line vertices -- vertices )
- [ words ] dip '[ _ parse-face-index ] map ;
+ [ split-words ] dip '[ _ parse-face-index ] map ;
: read-face ( line vertices faces -- )
[ parse-face ] dip push ;