|
|
Am 10.07.2016 um 17:30 schrieb William F Pokorny:
> OK. If the optionality is what we are trying to indicate, I think we
> probably want something like :
>
> COLOR_VECTOR:
> [rgb] float | (promoted to 3 value vector)
> [rg0] <2 Term Vector> |
> [rgb] <3_Term_Vector> |
> [rgbf] <4_Term_Vector> |
> rgbt <4_Term_Vector> |
> [ rgbft ] <5_Term_Vector> |
> srgb <3_Term_Vector> |
> srgbf <4_Term_Vector> |
> srgbt <4_Term_Vector> |
> srgbft <5_Term_Vector>
Since floats and less-than-5-term vectors are automatically promoted to
5-term vectors this is not necessary. To the contrary, what you suggest
might be misinterpreted to imply that e.g. `rgbft <4_Term_Vector>` would
be invalid, when in fact it is perfectly legal.
Also, there is no `rg0` keyword, so that's plain nonsense right there.
Post a reply to this message
|
|