Fortraneries/Fraktalism/pick2pov.awk
2022-03-18 23:36:56 +01:00

18 lines
267 B
Awk

#!/usr/bin/awk
BEGIN {
print "// generated file, don't touch it bastard !"
print "#declare Pickover = object {"
print "union {"
}
# for every line
{
printf "object { Truc translate <%f, %f, %f> }\n", $1, $2, $3
}
END {
print "} }"
print "// done", NR
}