|
|
>Hello! I am a povray user, and I wish to know if C++ usage is legal in
>povray
>eg.
>
>#define a as int
>sphere {0,a,0}
>
>I think not, I tried this and it didn't work, but I am not sure,
because I
>am not a C
>programmer.
No you can't use C++ . POV uses its own scripting language.
And there's no need to use "int" in pov's scripting language.
When defining a variable pov uses #declare. For instance:
#declare a = 1; // a becomes the integer 1
sphere{<0, a, 0>}
--
...coffee?...yes please! extra sugar,extra cream...Thank you.
Post a reply to this message
|
|