diff options
author | Mike Krus <mike.krus@kdab.com> | 2017-06-27 10:36:59 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-07-08 09:08:37 +0000 |
commit | 55844801dc09da2d05e6f581ce7ad3d4d334b5c1 (patch) | |
tree | e6c9a3469a0897b89e6b92d944e7f851bfcc5c2e /src/quick3d/quick3dextras/items/quick3dspritesheet_p.h | |
parent | b21eef8788de6e93da79441a459bcbcba0f3085e (diff) |
Introduce QSpriteGrid
Takes a texture and a number of rows and columns.
Uses a current index to compute a texture transform to map
texture coordinates to a cell in the grid.
Abstract base class to use in SpriteSheet which
supports non regular grid sprite sheets (like a general
atlas).
Change-Id: Ia48bea22e2f687d8ae3ef1db4e41ae3c539e54d2
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/quick3d/quick3dextras/items/quick3dspritesheet_p.h')
0 files changed, 0 insertions, 0 deletions