POV-Ray : Newsgroups : povray.general : Feature suggestion - modification of dimensions() function. Server Time
29 Nov 2024 09:55:09 EST (-0500)
  Feature suggestion - modification of dimensions() function. (Message 1 to 1 of 1)  
From: Muulhed
Subject: Feature suggestion - modification of dimensions() function.
Date: 13 Dec 2005 12:29:48
Message: <0512131227502@news.povray.org>
Hi all,
I was wondering if any of you has ever ran into trouble trying to identify whether a
declared variable is a scalar or an array.
Unless I've missed something, there doesn't seem to be a method that would allow a
macro to distinguish between the two.
If that's true, perhaps a modification to dimensions() would be useful.
If dimensions() is passed a float or vector identifier, parsing fails at that point.
What if the function returned a zero if passed a float or vector instead?
I haven't examined the internal workings to see if that would be a quick thing to
implement.
Any thoughts?


Thanks,
Mark LaBonte.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.