|
|
Hell and damnation!!!! I could swear I read all about float functions and
arrays, and never did I see these functions. Now they're there. To think how
much trouble this would've saved me in the past...
Oh well, thank you for pointing it out.
Margus
Ron Parker wrote in message <37419412.0@news.povray.org>...
>
>No need for the #ifdef patch. In fact, it will fail if you try to
>access past the end of the array anyway. What you need is this,
>from the official POV 3.1:
>
> dimension_size( ARRAY_IDENTIFIER, FLOAT ) Returns the size of a given
> dimension of a previously declared array identifier. Dimensions are
> numbered left-to-right starting with 1. For example if you do
> #declare MyArray=array[6][10] then dimension_size(MyArray,2) returns
> the value 10.
>
Post a reply to this message
|
|