I have a 2-dimensional jagged array (though it\'s always rectangular), which I initialize using the traditional loop:
var myArr = new double[rowCount][]; for
I just wrote this function...
public static T[][] GetMatrix(int m, int n) { var v = new T[m][]; for(int i=0;i
Seems to work.
float[][] vertices = GetMatrix(8, 3);