Skip to content

QuadHelper

BroccolliRaab edited this page Mar 4, 2018 · 2 revisions

QuadHelper

QuadHelper is a library, that currently only contains 1 function:

quadHelp.newQuadData(image, rows, columns, sizeX, sizeY)

Constructs a table of square quads from an image indexed as the order from top left to bottom right

image love2d image object to get the quads from

rows integer number of rows of quads in the image

columns integer number of columns of quads in the image

sizeX X dimension of the size of the quad

sizeY Y dimension of the size of the quad

Clone this wiki locally