|
|
Le_Forgeron <jgr### [at] freefr> wrote:
> > Still unnecessarily complex, as compared to (e.g.)
> >
> > cone { <0,0,0>, <0,1,0>, 2 }
> >
> Please notice, I wrote "If I was crazy".
> of course C++11/14/17 could be abused with initialiser list in
> constructor for:
> scene += Cone( {0,0,0},{0,1,0}, 2);
Actually I don't see a reason why this line of code:
cone( { 0, 0, 0 }, { 0, 1, 0 }, 2);
couldn't add the cone to the (default) scene.
It could even work something like this:
Cone( { 0, 0, 0 }, { 0, 1, 0 }, 2)
.pigment( some pigment def here )
.finish( some finish def here )
.rotate(10, 20, 30)
.scale(0.5, 1.0, 2.0);
--
- Warp
Post a reply to this message
|
|