RectGrid.numCols

Number of columns along a grid's x axis.

struct RectGrid(T)
numCols
()

Examples

auto grid = rectGrid([
  [ 0, 0, 0, 0 ],
  [ 0, 0, 0, 0 ],
]);

assert(grid.numCols == 4);

Meta