Local a:Double[][] = [[0.5,0.5],[1.0,1.0]] 'error
Local a:Double[][] = [[0.5!,0.5!],[1.0!,1.0!]] 'works
It's the same with Floats & Integers.
Could we have the compiler do necessary casting instead of having to specify it? Or is there a *deep* reason we need to be specific?
It's just a small nuisance :)
Local vert:Double[][] = ..
[[-0.5!, -0.5!, -0.5!],..
[ 0.5!, -0.5!, -0.5!],..
[ 0.5!, -0.5!, 0.5!],..
[-0.5!, -0.5!, 0.5!],..
[-0.5!, 0.5!, -0.5!],..
[ 0.5!, 0.5!, -0.5!],..
[ 0.5!, 0.5!, 0.5!],..
[-0.5!, 0.5!, 0.5!]]
Cheers
Tom
Local a:Double[][] = [[0.5!,0.5!],[1.0!,1.0!]] 'works
It's the same with Floats & Integers.
Could we have the compiler do necessary casting instead of having to specify it? Or is there a *deep* reason we need to be specific?
It's just a small nuisance :)
Local vert:Double[][] = ..
[[-0.5!, -0.5!, -0.5!],..
[ 0.5!, -0.5!, -0.5!],..
[ 0.5!, -0.5!, 0.5!],..
[-0.5!, -0.5!, 0.5!],..
[-0.5!, 0.5!, -0.5!],..
[ 0.5!, 0.5!, -0.5!],..
[ 0.5!, 0.5!, 0.5!],..
[-0.5!, 0.5!, 0.5!]]
Cheers
Tom