|
|
The code below gives the error:
no matching { in difference, box found instead
There must be something about declaring that I couldn't find in the doc.
Would some kind soul please explain why I get this error?
-----------------------------
#include "colors.inc"
#declare Dflgg = box {
<0, 0, 0>, <1, 1, .001>
pigment { color Red }
finish { ambient .8 }
scale <40, 24, 1>
}
difference
{
Dflgg
box
{
<0, 0, -1>, <1, 1, .002>
pigment { color Blue }
finish { ambient .8 }
}
}
-----------------------------
--
Alan
Post a reply to this message
|
|