summaryrefslogtreecommitdiff
path: root/examples/sprite.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2017-10-17 21:44:31 -0400
committerDavid Thompson <dthompson2@worcester.edu>2017-10-17 21:51:25 -0400
commit2950dfa6e1d140a90ad19e1f1c0b6f737f3efe7f (patch)
tree0e56be915f43e605dfec45d034d7925f0612ba4e /examples/sprite.scm
parent31b6f11b45d810a2e38e37f2f26ccd979166f356 (diff)
render: sprite: Add support for drawing texture regions.
* chickadee/render/sprite.scm (%default-texture-region): Rename to... (%default-texcoords): ...this. (draw-sprite): Replace #:texture-region arg with #:texcoords. Add support for texture regions. Update docstring. (draw-nine-patch): Add support for texture regions. * chickadee/render/font.scm (draw-text): Change #:texture-region to #:texcoords in draw-sprite call.
Diffstat (limited to 'examples/sprite.scm')
0 files changed, 0 insertions, 0 deletions