On Thursday, 8 October 2015 at 21:40:02 UTC, TheGag96 wrote:
In my code I'm passing an array of BitArrays to a constructor
like this (though mostly as a placeholder):
Terrain t = new Terrain(1, 15, [
BitArray([1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]),
BitArray([1, 1, 1, 1, 1, 0, 1, 1,
On Friday, 9 October 2015 at 07:08:15 UTC, John Colvin wrote:
On Thursday, 8 October 2015 at 21:40:02 UTC, TheGag96 wrote:
[...]
gdc is a bit out of date at the moment. If you do something
like this:
auto bitArray(bool[] ba) pure nothrow
{
BitArray tmp;
tmp.init(ba);
return
In my code I'm passing an array of BitArrays to a constructor
like this (though mostly as a placeholder):
Terrain t = new Terrain(1, 15, [
BitArray([1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]),
BitArray([1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1]),
BitArray([0, 0, 1, 1, 1, 0, 1, 1, 1, 1,