Exemplo n.º 1
0
        public QbMatrix()
        {
            highlight = new Colort(1f, 1f, 1f);
            matrixcolors = new Colort[128];
            colors = matrixcolors;
            colorindexholes = new Stack<int>();
            //wireframecolors = new Colort[64];
            //outlinecolors = new Colort[64];
            voxels = new ConcurrentDictionary<double, Voxel>();
            modifiedvoxels = new ConcurrentStack<VoxelModifier>();

            left = new QbMatrixSide(Side.Left);
            right = new QbMatrixSide(Side.Right);
            top = new QbMatrixSide(Side.Top);
            bottom = new QbMatrixSide(Side.Bottom);
            front = new QbMatrixSide(Side.Front);
            back = new QbMatrixSide(Side.Back);
        }
Exemplo n.º 2
0
        public QbMatrix()
        {
            highlight       = new Colort(1f, 1f, 1f);
            matrixcolors    = new Colort[128];
            colors          = matrixcolors;
            colorindexholes = new Stack <int>();
            //wireframecolors = new Colort[64];
            //outlinecolors = new Colort[64];
            voxels         = new ConcurrentDictionary <double, Voxel>();
            modifiedvoxels = new ConcurrentStack <VoxelModifier>();

            left   = new QbMatrixSide(Side.Left);
            right  = new QbMatrixSide(Side.Right);
            top    = new QbMatrixSide(Side.Top);
            bottom = new QbMatrixSide(Side.Bottom);
            front  = new QbMatrixSide(Side.Front);
            back   = new QbMatrixSide(Side.Back);
        }