matrix-dom
    Preparing search index...

    Function cube

    • Return a matrix where x, y, and z are equal

      Parameters

      • props: MatrixProps = {}

        Additional data to append to each level: x for each column (the tile data), y for each row, z for each layer and matrix for the matrix itself. Each is a single configuration object, not an array.

      • size: number

        Used to define the width, height and depth as equal values

      Returns Matrix