|
![](/i/fill.gif) |
ingo <ing### [at] tag povray org> wrote:
> #include MMMM (a library (directory) consisting of 7 includefile
> sharing a lot of code)
>
> object {
> MMMM.Parametric (
> function(u,v){R*sin(v)*cos(u)},
> function(u,v){R*cos(v)},
> function(u,v){R*sin(v)*sin(u)}
> <0, FromV(0)>, <pi, 2*pi>,
> 20, 10, ""
> )
> pigment {rgb 1}
> finish{specular 0.3}
> }
oh! I'd certainly love proper foo.bar style of accessing containers member
rather than the one in my proposed alias:
#include "foo.inc" #as MMM
object { MMM_Parametric(...) }...
Except i feel the latter should be simpler to implement in the povray parser
with a few rewriting rules...
Post a reply to this message
|
![](/i/fill.gif) |