mirror of
https://codeberg.org/1414codeforge/gear.git
synced 2024-12-21 07:13:33 +01:00
This is a read only mirror of the gear main repository.
spec | ||
.gitignore | ||
.luarc.json | ||
algo.lua | ||
camera.lua | ||
color.lua | ||
config.ld | ||
init.lua | ||
LICENSE | ||
mathx.lua | ||
meta.lua | ||
README.ACKNOWLEDGEMENT | ||
README.md | ||
rect.lua | ||
shadowtext.lua | ||
signal.lua | ||
strings.lua | ||
timer.lua | ||
vec.lua |
gear - The LÖVE Utility Gear
gear provides common functionality for LÖVE game development, including:
- 2D vector algebra
- Minimal 3D vector algebra
- 2D bounds (axis-aligned rectangles)
- General utility math functions
- Common stateless algorithms
Code is reasonably biased towards speed, at the occasional expense of abstraction.
Documentation
Code is documented with LDoc.
Documentation may be generated running the command:
ldoc .
ldoc
generates a doc
directory, open doc/index.html
with your favorite browser to read the documentation.
Test suite
The test suite uses busted.
Tests may be run with the command:
lua spec/utils_spec.lua
License
See LICENSE for details.