Skiba <abx### [at] babilonorg> wrote:
> This is not end of the problem. AFAIK .x .y .z and rest of operators cannot be
> used on typical vector expression inside user defined function. So my
> proposition is something like this:
>
> in Float Expressions:
>
> NUMERIC_EXPRESSION: (....) | VECTOR.DOT_ITEM | (....)
>
> DOT_ITEM: x|y|z|t|u|v|red|green|blue|filter|transmit|gray (hf excluded)
>
> in User-Defined Functions:
>
> EXPRESSION: (....) | VECTOR_FUNCTION_INVOCATION.FN_DOT_ITEM |
> COLOR_FUNCTION_INVOCATION.FN_DOT_ITEM | (...)
>
> FN_DOT_ITEM: DOT_ITEM | hf
>
> To the team - is this corect ?
I think so.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|