add a feature

This commit is contained in:
tTh 2024-09-17 11:23:05 +02:00
parent a1df488c58
commit 716345e270

View File

@ -2,6 +2,7 @@
# create the sdl object: an union of sphere
BEGIN {
nbre = 0
print "#declare Bubules = object"
print "{ \nunion { "
}
@ -10,9 +11,11 @@ BEGIN {
{
printf(" sphere { <%f, %f, %f>, %f }\n", \
$1, $2, $3, $4 )
nbre++
}
# closing sdl structure
END {
print " }\n}\n"
print " }\n}"
printf "// %d bubulles\n", nbre
}