diff options
author | rodri <rgl@antares-labs.eu> | 2023-02-03 23:06:05 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2023-02-03 23:06:05 +0000 |
commit | d80a73d4daf2dcf8739e6d84e1d82738a3fa5670 (patch) | |
tree | 83fb3d07dbdd6992819f63fef6c38176e23574f7 /musw.c | |
parent | 16239053b3f411fe7c2b68cefff0be09adc21be1 (diff) | |
download | musw-d80a73d4daf2dcf8739e6d84e1d82738a3fa5670.tar.gz musw-d80a73d4daf2dcf8739e6d84e1d82738a3fa5670.tar.bz2 musw-d80a73d4daf2dcf8739e6d84e1d82738a3fa5670.zip |
vmodeled: plot lines and curves and save them to a file on exit.
Diffstat (limited to 'musw.c')
-rw-r--r-- | musw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ drawship(Ship *ship, Image *dst) mulm(T, R); mdl = ship->mdl; p = mdl->pts; - for(s = mdl->strokefmt; s != 0 && p-mdl->pts < mdl->npts; s++) + for(s = mdl->strokefmt; s != nil && p-mdl->pts < mdl->npts; s++) switch(*s){ case 'l': line(dst, toscreen(xform(p[0], T)), toscreen(xform(p[1], T)), 0, 0, 0, display->white, ZP); |