|
 |
On 2026-07-03 12:11 (-4), kurtz le pirate wrote:
>
> #declare Datas = array mixed;
>
> #declare Datas[0] = <1,2,3>;
> #declare Datas[1] = <1,2,3,4>;
> #declare Datas[2] = <1,2>;
>
>
> how can you tell that the vector in Datas[0] has 3 components and the
> vector in Datas[1] 4 ?
I managed to figure something out for some special applications in two
of my libraries. Have a look at macro Caption__Get_padding() in
caption.inc and macro Lamp_Has4D() in desklamp.inc and see if you can
generalize them.
https://github.com/CousinRicky/POV-Caption/blob/main/caption.inc
https://github.com/CousinRicky/POV-DeskLamp/blob/main/desklamp.inc
Post a reply to this message
|
 |