add a feature
This commit is contained in:
parent
a1df488c58
commit
716345e270
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user