Hi, I’m trying to create a matrix of NxNxN, but I havent got any luck in javascript.
In C#, i know that you can make one like this:
int matrix[number,number,number];
and access it like this:
matrix[0,0,0] = 9;
Now in javascript I have this:
var matriz : int = [numberOfCubes,numberOfCubes,numberOfCubes];
matriz[0][1][1] = 7;
But i get an error that says:
“BCE0022: Cannot convert (int) to int”
Any suggestions?
thanks guys!