QuadVideo.XYAxesPointMesh.CreateIndices C# (CSharp) Method

CreateIndices() private method

private CreateIndices ( ) : void
return void
        void CreateIndices()
        {
            int[] indices = new int[Resolution.Columns * Resolution.Rows * 1];

            int vIndex = 0;

            for (int row = 0; row < Resolution.Rows; row++)
            {
                for (int column = 0; column < Resolution.Columns; column++)
                {
                    // Set the indices for the quad
                    indices[vIndex + 0] = vIndex;       // Lower Left

                    vIndex += 1;
                }
            }

            // Assign the indices
            SetIndices(indices);
        }