I developed the aC # library, which was used in three projects that relay in this particular piece of code, although I still need to use this code in javascript, so I port it, the thing is, I don’t think I can reproduce the same logic For example, I thought about this for several days, I could not answer this question.
In the C # library, I have a three-dimensional array, which, like the kernel property in the application, and I cannot figure out how to do this in the JS environment.
For example, I have this piece of code:
public Obj[,,] objs = new Obj[18, 14, 8];
In which I would select objects in EVERY one position and try to port this to javascript, it seems to result in:
var 3dArr = new Array(); 3dArr[0] = new Array(); 3dArr[0][0] = new Array();
Does it always keep the array object in the first position, and if I set everything else that would lose the whole array? Or I'm wrong
javascript c #
Diego zamonsett
source share