|
|
In article <39ce6e42@news.povray.org> , "Neil Freebairn"
<nei### [at] lineonenet> wrote:
> Is there any way to tell a identifier which evaluates to a vector from an
> identifier which evaluates to a real? Essentially, I want a way to determine
> the type of an identifier. I want to create a macro like this
Please do not use excessive cross-posting. See the "Cross-Posting Guidelines
for news.povray.org" in povray.announce.frequently-asked-questions.
Regarding your question, there is no function to determine the type.
However, as the result of any function in POV-Ray is deterministic, you
should always know which variable type a variable is. For a printing macro,
you would then just pass that information along with the variable.
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|