diff options
Diffstat (limited to 'chickadee/graphics/sprite.scm')
-rw-r--r-- | chickadee/graphics/sprite.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chickadee/graphics/sprite.scm b/chickadee/graphics/sprite.scm index 327db67..3bb9cc1 100644 --- a/chickadee/graphics/sprite.scm +++ b/chickadee/graphics/sprite.scm @@ -317,10 +317,11 @@ texture may be specified via the TEXTURE-REGION argument." position #:key (origin %null-vec2) - (scale %default-scale) (rotation 0.0) - (tint white) - texture-region) + (scale %default-scale) + (shear %null-vec2) + texture-region + (tint white)) "Add sprite to BATCH at POSITION. To render a subsection of the batch's texture, a texture object whose parent is the batch texture may be specified via the TEXTURE-REGION argument." @@ -331,7 +332,8 @@ may be specified via the TEXTURE-REGION argument." #:origin origin #:position position #:rotation rotation - #:scale scale) + #:scale scale + #:shear shear) (sprite-batch-add* batch rect matrix #:tint tint #:texture-region texture-region))) |