1
0

Docstring

This commit is contained in:
Jon Michael Aanes 2024-07-10 21:14:12 +02:00
parent 2a29240aea
commit 109a51a147
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 13 additions and 13 deletions

View File

@ -1,9 +0,0 @@
# Spritesheet
Tiny library for working with textures and animated textures.
## Notes
- When drawing an image or animation when a shader is defined the library may
send certain useful constants along, notably `spritesheet_inverse_width` and
`spritesheet_inverse_height`.

View File

@ -1,7 +1,16 @@
--- Library for managing spritesheets. --[[-- # Spritesheet
---
--- Has support for both individual images in spritesheets and animations. This Library for managing sprite sheets of textures and animations.
--- can be specified from a lua file placed beside the spritesheet image file.
Has support for both individual images in spritesheets and animations. This
can be specified from a lua file placed beside the spritesheet image file.
## Notes
- When drawing an image or animation when a shader is defined the library may
send certain useful constants along, notably `spritesheet_inverse_width` and
`spritesheet_inverse_height`.
--]]
local error_original = error local error_original = error
local error, error_internal do local error, error_internal do