Dan Ebberts wrote:
Nan is a JavaScript reserved value that indicates that the result is "Not a Number". There are a number of ways you can get this, including trying to divide by zero. I'm not sure why you would get it for your spatial tangent though.
Dan
Hello Dan,
Yes, I googled it up and I know the meaning of NaN now. Even more, there is some way of handling NaN in AE.
There is a function isNan(x) which tests if x is NaN.
Also there are some numbers like Number.POSITIVE_INFINITY and Number.NEGATIVE_INFINITY - which are also NaNs (despite their Number.. predicate).
Oh well. If anyone has more information on that - thanks for sharing.
M.