TextureGrid

TextureGrid

Meshdata for a grid; useful for displaying tiles

Constructor

new TextureGrid(matrix, textureUnitsPerLine)

Parameters:
Name Type Description
matrix
textureUnitsPerLine

Methods

clone() → {TextureGrid}

Returns a clone of this texture grid

rebuild() → {TextureGrid}

Builds or rebuilds the mesh data.