Bezier function points problem


#1

It says that the function accepts a number[][][]. However, on the code:
Untitled

If you try to put a number[][][] it won’t compile, but if you put a number[][] you get a runtime error:

These are the points:
[[[0,0,0],[0.1,0.1,0],[0.1,-0.1,0],[0.2,0,0]]]