|
|
Le 2020-03-06 à 19:27, Jörg "Yadgar" Bleimann a écrit :
> Hi(gh)!
>
> While re-coding Melody's smooth mesh2 routine and running a test, I
> encountered a strange error message:
>
> File 'mesh2writer.pov' line 151: Parse Error: Expected 'undeclared
> identifier',
> float function 'no' found instead
>
> This is the mentioned line:
>
> #declare no = vcross(V_vec_Arr[3601]-V_vec_Arr[1],
> V_vec_Arr[0]-V_vec_Arr[1]);
>
> I can't see anything wrong with it... "no" is a vector (returned by
> vcross), not a function!
>
> What is this about?
>
> See you in Khyberspace!
>
> Yadgar
«no» is a builtin constant with a value of zero.
You can change it to «No» or «NO» and this will correct that error.
Remember to always have at least one upper case letter in any user
defined variable.
Post a reply to this message
|
|