summaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2018-01-17 14:20:14 -0500
committerDavid Thompson <dthompson2@worcester.edu>2018-01-17 14:20:14 -0500
commit5896bde48b8462e935b4c0c7c51c21eb524b1913 (patch)
treeabd0384b2b172f3a26edb173023d6b89deedc187 /guix.scm
parenteb990ed509b080fd9ccc2edbb8c9cdf629112784 (diff)
render: texture: Keep a rect for use with draw-sprite and friends.
Easier to calculate it once and hang onto it than to generate it each time draw-sprite is called. * chickadee/render/texture.scm (<texture>)[rect]: Delete field. [x y width height gl-tex-rect]: New fields. * chickadee/render/sprite.scm (draw-sprite*, draw-sprite, draw-nine-patch*): Use proper accessors for texture rects.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions